- 3.79.0 (latest)
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class OutputFieldSpec.Builder extends GeneratedMessageV3.Builder<OutputFieldSpec.Builder> implements OutputFieldSpecOrBuilderDefines a specification for a single output field.
 Protobuf type google.cloud.aiplatform.v1.OutputFieldSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OutputFieldSpec.BuilderImplements
OutputFieldSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OutputFieldSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
build()
public OutputFieldSpec build()| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec | |
buildPartial()
public OutputFieldSpec buildPartial()| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec | |
clear()
public OutputFieldSpec.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
clearField(Descriptors.FieldDescriptor field)
public OutputFieldSpec.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
clearFieldName()
public OutputFieldSpec.Builder clearFieldName()Required. The name of the output field.
 string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
clearFieldType()
public OutputFieldSpec.Builder clearFieldType()Optional. The data type of the field. Defaults to CONTENT if not set.
 
 .google.cloud.aiplatform.v1.OutputFieldSpec.FieldType field_type = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
clearGuidance()
public OutputFieldSpec.Builder clearGuidance()Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred.
 string guidance = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public OutputFieldSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
clone()
public OutputFieldSpec.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
getDefaultInstanceForType()
public OutputFieldSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getFieldName()
public String getFieldName()Required. The name of the output field.
 string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The fieldName. | 
getFieldNameBytes()
public ByteString getFieldNameBytes()Required. The name of the output field.
 string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for fieldName. | 
getFieldType()
public OutputFieldSpec.FieldType getFieldType()Optional. The data type of the field. Defaults to CONTENT if not set.
 
 .google.cloud.aiplatform.v1.OutputFieldSpec.FieldType field_type = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.FieldType | The fieldType. | 
getFieldTypeValue()
public int getFieldTypeValue()Optional. The data type of the field. Defaults to CONTENT if not set.
 
 .google.cloud.aiplatform.v1.OutputFieldSpec.FieldType field_type = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for fieldType. | 
getGuidance()
public String getGuidance()Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred.
 string guidance = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The guidance. | 
getGuidanceBytes()
public ByteString getGuidanceBytes()Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred.
 string guidance = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for guidance. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(OutputFieldSpec other)
public OutputFieldSpec.Builder mergeFrom(OutputFieldSpec other)| Parameter | |
|---|---|
| Name | Description | 
| other | OutputFieldSpec | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OutputFieldSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public OutputFieldSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OutputFieldSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public OutputFieldSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
setFieldName(String value)
public OutputFieldSpec.Builder setFieldName(String value)Required. The name of the output field.
 string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe fieldName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
setFieldNameBytes(ByteString value)
public OutputFieldSpec.Builder setFieldNameBytes(ByteString value)Required. The name of the output field.
 string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for fieldName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
setFieldType(OutputFieldSpec.FieldType value)
public OutputFieldSpec.Builder setFieldType(OutputFieldSpec.FieldType value)Optional. The data type of the field. Defaults to CONTENT if not set.
 
 .google.cloud.aiplatform.v1.OutputFieldSpec.FieldType field_type = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | OutputFieldSpec.FieldTypeThe fieldType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
setFieldTypeValue(int value)
public OutputFieldSpec.Builder setFieldTypeValue(int value)Optional. The data type of the field. Defaults to CONTENT if not set.
 
 .google.cloud.aiplatform.v1.OutputFieldSpec.FieldType field_type = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for fieldType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
setGuidance(String value)
public OutputFieldSpec.Builder setGuidance(String value)Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred.
 string guidance = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe guidance to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
setGuidanceBytes(ByteString value)
public OutputFieldSpec.Builder setGuidanceBytes(ByteString value)Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred.
 string guidance = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for guidance to set. | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OutputFieldSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final OutputFieldSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| OutputFieldSpec.Builder | |