public static final class GroundingMetadata.SourceFlaggingUri.Builder extends com.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder> implements GroundingMetadata.SourceFlaggingUriOrBuilder
Source content flagging uri for a place or review. This is currently populated only for Google Maps grounding.Protobuf type
google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri| Modifier and Type | Method and Description |
|---|---|
GroundingMetadata.SourceFlaggingUri |
build() |
GroundingMetadata.SourceFlaggingUri |
buildPartial() |
GroundingMetadata.SourceFlaggingUri.Builder |
clear() |
GroundingMetadata.SourceFlaggingUri.Builder |
clearFlagContentUri()
A link where users can flag a problem with the source (place or review).
(-- The link is generated by Google and it does not contain
information from the user query.
|
GroundingMetadata.SourceFlaggingUri.Builder |
clearSourceId()
Id of the place or review.
|
GroundingMetadata.SourceFlaggingUri |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFlagContentUri()
A link where users can flag a problem with the source (place or review).
(-- The link is generated by Google and it does not contain
information from the user query.
|
com.google.protobuf.ByteString |
getFlagContentUriBytes()
A link where users can flag a problem with the source (place or review).
(-- The link is generated by Google and it does not contain
information from the user query.
|
String |
getSourceId()
Id of the place or review.
|
com.google.protobuf.ByteString |
getSourceIdBytes()
Id of the place or review.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GroundingMetadata.SourceFlaggingUri.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GroundingMetadata.SourceFlaggingUri.Builder |
mergeFrom(GroundingMetadata.SourceFlaggingUri other) |
GroundingMetadata.SourceFlaggingUri.Builder |
mergeFrom(com.google.protobuf.Message other) |
GroundingMetadata.SourceFlaggingUri.Builder |
setFlagContentUri(String value)
A link where users can flag a problem with the source (place or review).
(-- The link is generated by Google and it does not contain
information from the user query.
|
GroundingMetadata.SourceFlaggingUri.Builder |
setFlagContentUriBytes(com.google.protobuf.ByteString value)
A link where users can flag a problem with the source (place or review).
(-- The link is generated by Google and it does not contain
information from the user query.
|
GroundingMetadata.SourceFlaggingUri.Builder |
setSourceId(String value)
Id of the place or review.
|
GroundingMetadata.SourceFlaggingUri.Builder |
setSourceIdBytes(com.google.protobuf.ByteString value)
Id of the place or review.
|
addRepeatedField, 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<GroundingMetadata.SourceFlaggingUri.Builder>public GroundingMetadata.SourceFlaggingUri.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.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<GroundingMetadata.SourceFlaggingUri.Builder>public GroundingMetadata.SourceFlaggingUri getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GroundingMetadata.SourceFlaggingUri build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GroundingMetadata.SourceFlaggingUri buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GroundingMetadata.SourceFlaggingUri.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>public GroundingMetadata.SourceFlaggingUri.Builder mergeFrom(GroundingMetadata.SourceFlaggingUri other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>public GroundingMetadata.SourceFlaggingUri.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<GroundingMetadata.SourceFlaggingUri.Builder>IOExceptionpublic String getSourceId()
Id of the place or review.
string source_id = 1;getSourceId in interface GroundingMetadata.SourceFlaggingUriOrBuilderpublic com.google.protobuf.ByteString getSourceIdBytes()
Id of the place or review.
string source_id = 1;getSourceIdBytes in interface GroundingMetadata.SourceFlaggingUriOrBuilderpublic GroundingMetadata.SourceFlaggingUri.Builder setSourceId(String value)
Id of the place or review.
string source_id = 1;value - The sourceId to set.public GroundingMetadata.SourceFlaggingUri.Builder clearSourceId()
Id of the place or review.
string source_id = 1;public GroundingMetadata.SourceFlaggingUri.Builder setSourceIdBytes(com.google.protobuf.ByteString value)
Id of the place or review.
string source_id = 1;value - The bytes for sourceId to set.public String getFlagContentUri()
A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;getFlagContentUri in interface GroundingMetadata.SourceFlaggingUriOrBuilderpublic com.google.protobuf.ByteString getFlagContentUriBytes()
A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;getFlagContentUriBytes in interface GroundingMetadata.SourceFlaggingUriOrBuilderpublic GroundingMetadata.SourceFlaggingUri.Builder setFlagContentUri(String value)
A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;value - The flagContentUri to set.public GroundingMetadata.SourceFlaggingUri.Builder clearFlagContentUri()
A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;public GroundingMetadata.SourceFlaggingUri.Builder setFlagContentUriBytes(com.google.protobuf.ByteString value)
A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)
string flag_content_uri = 2;value - The bytes for flagContentUri to set.Copyright © 2026 Google LLC. All rights reserved.