# Interface GenerateAppResourceRequest.RefineInstructionsOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface GenerateAppResourceRequest.RefineInstructionsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEndIndex()

    public abstract long getEndIndex()

Required. The last character (inclusive) of the text to refine.

`int64 end_index = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The endIndex. |

### getFieldMask()

    public abstract FieldMask getFieldMask()

Required. The field of the resource being refined. Only one field is
allowed per RefineInstructions. If refining agent instructions, the field
mask should be "instructions".

`.google.protobuf.FieldMask field_mask = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMask.html` | The fieldMask. |

### getFieldMaskOrBuilder()

    public abstract FieldMaskOrBuilder getFieldMaskOrBuilder()

Required. The field of the resource being refined. Only one field is
allowed per RefineInstructions. If refining agent instructions, the field
mask should be "instructions".

`.google.protobuf.FieldMask field_mask = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.FieldMaskOrBuilder.html` |   |

### getInstructions()

    public abstract String getInstructions()

Required. The instructions to refine the resource.

`string instructions = 4 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The instructions. |

### getInstructionsBytes()

    public abstract ByteString getInstructionsBytes()

Required. The instructions to refine the resource.

`string instructions = 4 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for instructions. |

### getStartIndex()

    public abstract long getStartIndex()

Required. The first character (inclusive) of the text to refine.

`int64 start_index = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The startIndex. |

### hasFieldMask()

    public abstract boolean hasFieldMask()

Required. The field of the resource being refined. Only one field is
allowed per RefineInstructions. If refining agent instructions, the field
mask should be "instructions".

`.google.protobuf.FieldMask field_mask = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the fieldMask field is set. |