Send feedback
Class GroundingMetadata.SourceFlaggingUri (3.77.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class GroundingMetadata . SourceFlaggingUri extends GeneratedMessageV3 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.v1beta1.GroundingMetadata.SourceFlaggingUri
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FLAG_CONTENT_URI_FIELD_NUMBER
public static final int FLAG_CONTENT_URI_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SOURCE_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static GroundingMetadata . SourceFlaggingUri getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static GroundingMetadata . SourceFlaggingUri . Builder newBuilder ()
public static GroundingMetadata . SourceFlaggingUri . Builder newBuilder ( GroundingMetadata . SourceFlaggingUri prototype )
public static GroundingMetadata . SourceFlaggingUri parseDelimitedFrom ( InputStream input )
public static GroundingMetadata . SourceFlaggingUri parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static GroundingMetadata . SourceFlaggingUri parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( ByteString data )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( CodedInputStream input )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( InputStream input )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( ByteBuffer data )
public static GroundingMetadata . SourceFlaggingUri parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<GroundingMetadata . SourceFlaggingUri > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public GroundingMetadata . SourceFlaggingUri getDefaultInstanceForType ()
getFlagContentUri()
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;
Returns
Type
Description
String
The flagContentUri.
getFlagContentUriBytes()
public 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;
Returns
Type
Description
ByteString
The bytes for flagContentUri.
public Parser<GroundingMetadata . SourceFlaggingUri > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public String getSourceId ()
Id of the place or review.
string source_id = 1;
Returns
Type
Description
String
The sourceId.
public ByteString getSourceIdBytes ()
Id of the place or review.
string source_id = 1;
Returns
Type
Description
ByteString
The bytes for sourceId.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public GroundingMetadata . SourceFlaggingUri . Builder newBuilderForType ()
protected GroundingMetadata . SourceFlaggingUri . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public GroundingMetadata . SourceFlaggingUri . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]