Package com.google.cloud.aiplatform.v1
Class GroundingMetadata.SourceFlaggingUri.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>
com.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri.Builder
- All Implemented Interfaces:
GroundingMetadata.SourceFlaggingUriOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GroundingMetadata.SourceFlaggingUri
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()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.Id of the place or review.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA 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.ByteStringA 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.Id of the place or review.com.google.protobuf.ByteStringId of the place or review.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.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.setSourceId(String value) Id of the place or review.setSourceIdBytes(com.google.protobuf.ByteString value) Id of the place or review.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>
-
mergeFrom
public GroundingMetadata.SourceFlaggingUri.Builder mergeFrom(GroundingMetadata.SourceFlaggingUri other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>
-
mergeFrom
public GroundingMetadata.SourceFlaggingUri.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GroundingMetadata.SourceFlaggingUri.Builder>- Throws:
IOException
-
getSourceId
Id of the place or review.
string source_id = 1;- Specified by:
getSourceIdin interfaceGroundingMetadata.SourceFlaggingUriOrBuilder- Returns:
- The sourceId.
-
getSourceIdBytes
public com.google.protobuf.ByteString getSourceIdBytes()Id of the place or review.
string source_id = 1;- Specified by:
getSourceIdBytesin interfaceGroundingMetadata.SourceFlaggingUriOrBuilder- Returns:
- The bytes for sourceId.
-
setSourceId
Id of the place or review.
string source_id = 1;- Parameters:
value- The sourceId to set.- Returns:
- This builder for chaining.
-
clearSourceId
Id of the place or review.
string source_id = 1;- Returns:
- This builder for chaining.
-
setSourceIdBytes
public GroundingMetadata.SourceFlaggingUri.Builder setSourceIdBytes(com.google.protobuf.ByteString value) Id of the place or review.
string source_id = 1;- Parameters:
value- The bytes for sourceId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getFlagContentUriin interfaceGroundingMetadata.SourceFlaggingUriOrBuilder- Returns:
- The flagContentUri.
-
getFlagContentUriBytes
public 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;- Specified by:
getFlagContentUriBytesin interfaceGroundingMetadata.SourceFlaggingUriOrBuilder- Returns:
- The bytes for flagContentUri.
-
setFlagContentUri
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;- Parameters:
value- The flagContentUri to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setFlagContentUriBytes
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;- Parameters:
value- The bytes for flagContentUri to set.- Returns:
- This builder for chaining.
-