public static final class GroundingAttribution.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder> implements GroundingAttributionOrBuilder
Grounding attribution.Protobuf type
google.cloud.aiplatform.v1.GroundingAttributiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.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.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GroundingAttribution build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GroundingAttribution buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GroundingAttribution.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroundingAttribution.Builder>public GroundingAttribution.Builder mergeFrom(GroundingAttribution other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public GroundingAttribution.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<GroundingAttribution.Builder>IOExceptionpublic GroundingAttribution.ReferenceCase getReferenceCase()
getReferenceCase in interface GroundingAttributionOrBuilderpublic GroundingAttribution.Builder clearReference()
public boolean hasWeb()
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
hasWeb in interface GroundingAttributionOrBuilderpublic GroundingAttribution.Web getWeb()
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
getWeb in interface GroundingAttributionOrBuilderpublic GroundingAttribution.Builder setWeb(GroundingAttribution.Web value)
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
public GroundingAttribution.Builder setWeb(GroundingAttribution.Web.Builder builderForValue)
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
public GroundingAttribution.Builder mergeWeb(GroundingAttribution.Web value)
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
public GroundingAttribution.Builder clearWeb()
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
public GroundingAttribution.Web.Builder getWebBuilder()
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
public GroundingAttribution.WebOrBuilder getWebOrBuilder()
Optional. Attribution from the web.
.google.cloud.aiplatform.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];
getWebOrBuilder in interface GroundingAttributionOrBuilderpublic boolean hasSegment()
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasSegment in interface GroundingAttributionOrBuilderpublic Segment getSegment()
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSegment in interface GroundingAttributionOrBuilderpublic GroundingAttribution.Builder setSegment(Segment value)
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GroundingAttribution.Builder setSegment(Segment.Builder builderForValue)
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GroundingAttribution.Builder mergeSegment(Segment value)
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public GroundingAttribution.Builder clearSegment()
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Segment.Builder getSegmentBuilder()
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SegmentOrBuilder getSegmentOrBuilder()
Output only. Segment of the content this attribution belongs to.
.google.cloud.aiplatform.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSegmentOrBuilder in interface GroundingAttributionOrBuilderpublic boolean hasConfidenceScore()
Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.
optional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
hasConfidenceScore in interface GroundingAttributionOrBuilderpublic float getConfidenceScore()
Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.
optional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
getConfidenceScore in interface GroundingAttributionOrBuilderpublic GroundingAttribution.Builder setConfidenceScore(float value)
Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.
optional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
value - The confidenceScore to set.public GroundingAttribution.Builder clearConfidenceScore()
Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.
optional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
public final GroundingAttribution.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>public final GroundingAttribution.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GroundingAttribution.Builder>Copyright © 2024 Google LLC. All rights reserved.