public static final class OutputFieldSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<OutputFieldSpec.Builder> implements OutputFieldSpecOrBuilder
Defines a specification for a single output field.Protobuf type
google.cloud.aiplatform.v1.OutputFieldSpecaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OutputFieldSpec.Builder>public OutputFieldSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<OutputFieldSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OutputFieldSpec.Builder>public OutputFieldSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OutputFieldSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OutputFieldSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OutputFieldSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutputFieldSpec.Builder>public OutputFieldSpec.Builder mergeFrom(OutputFieldSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<OutputFieldSpec.Builder>public OutputFieldSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutputFieldSpec.Builder>IOExceptionpublic String getFieldName()
Required. The name of the output field.
string field_name = 1 [(.google.api.field_behavior) = REQUIRED];getFieldName in interface OutputFieldSpecOrBuilderpublic com.google.protobuf.ByteString getFieldNameBytes()
Required. The name of the output field.
string field_name = 1 [(.google.api.field_behavior) = REQUIRED];getFieldNameBytes in interface OutputFieldSpecOrBuilderpublic OutputFieldSpec.Builder setFieldName(String value)
Required. The name of the output field.
string field_name = 1 [(.google.api.field_behavior) = REQUIRED];value - The fieldName to set.public OutputFieldSpec.Builder clearFieldName()
Required. The name of the output field.
string field_name = 1 [(.google.api.field_behavior) = REQUIRED];public OutputFieldSpec.Builder setFieldNameBytes(com.google.protobuf.ByteString value)
Required. The name of the output field.
string field_name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for fieldName to set.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];getGuidance in interface OutputFieldSpecOrBuilderpublic com.google.protobuf.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];getGuidanceBytes in interface OutputFieldSpecOrBuilderpublic 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];value - The guidance to set.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];public OutputFieldSpec.Builder setGuidanceBytes(com.google.protobuf.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];value - The bytes for guidance to set.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];
getFieldTypeValue in interface OutputFieldSpecOrBuilderpublic 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];
value - The enum numeric value on the wire for fieldType to set.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];
getFieldType in interface OutputFieldSpecOrBuilderpublic 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];
value - The fieldType to set.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];
Copyright © 2026 Google LLC. All rights reserved.