Package com.google.cloud.aiplatform.v1
Class GroundingChunk.Maps.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder>
com.google.cloud.aiplatform.v1.GroundingChunk.Maps.Builder
- All Implemented Interfaces:
GroundingChunk.MapsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GroundingChunk.Maps
public static final class GroundingChunk.Maps.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder>
implements GroundingChunk.MapsOrBuilder
Chunk from Google Maps.Protobuf type
google.cloud.aiplatform.v1.GroundingChunk.Maps-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Sources used to generate the place answer.This Place's resource name, in `places/{place_id}` format.Text of the chunk.Title of the chunk.clearUri()URI reference of the chunk.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSources used to generate the place answer.Sources used to generate the place answer.Sources used to generate the place answer.This Place's resource name, in `places/{place_id}` format.com.google.protobuf.ByteStringThis Place's resource name, in `places/{place_id}` format.getText()Text of the chunk.com.google.protobuf.ByteStringText of the chunk.getTitle()Title of the chunk.com.google.protobuf.ByteStringTitle of the chunk.getUri()URI reference of the chunk.com.google.protobuf.ByteStringURI reference of the chunk.booleanSources used to generate the place answer.booleanThis Place's resource name, in `places/{place_id}` format.booleanhasText()Text of the chunk.booleanhasTitle()Title of the chunk.booleanhasUri()URI reference of the chunk.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GroundingChunk.Maps other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Sources used to generate the place answer.Sources used to generate the place answer.setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources.Builder builderForValue) Sources used to generate the place answer.setPlaceId(String value) This Place's resource name, in `places/{place_id}` format.setPlaceIdBytes(com.google.protobuf.ByteString value) This Place's resource name, in `places/{place_id}` format.Text of the chunk.setTextBytes(com.google.protobuf.ByteString value) Text of the chunk.Title of the chunk.setTitleBytes(com.google.protobuf.ByteString value) Title of the chunk.URI reference of the chunk.setUriBytes(com.google.protobuf.ByteString value) URI reference of the chunk.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<GroundingChunk.Maps.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<GroundingChunk.Maps.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<GroundingChunk.Maps.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<GroundingChunk.Maps.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GroundingChunk.Maps.Builder>
-
mergeFrom
public GroundingChunk.Maps.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<GroundingChunk.Maps.Builder>- Throws:
IOException
-
hasUri
public boolean hasUri()URI reference of the chunk.
optional string uri = 1;- Specified by:
hasUriin interfaceGroundingChunk.MapsOrBuilder- Returns:
- Whether the uri field is set.
-
getUri
URI reference of the chunk.
optional string uri = 1;- Specified by:
getUriin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI reference of the chunk.
optional string uri = 1;- Specified by:
getUriBytesin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI reference of the chunk.
optional string uri = 1;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI reference of the chunk.
optional string uri = 1;- Returns:
- This builder for chaining.
-
setUriBytes
URI reference of the chunk.
optional string uri = 1;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
hasTitle
public boolean hasTitle()Title of the chunk.
optional string title = 2;- Specified by:
hasTitlein interfaceGroundingChunk.MapsOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
Title of the chunk.
optional string title = 2;- Specified by:
getTitlein interfaceGroundingChunk.MapsOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Title of the chunk.
optional string title = 2;- Specified by:
getTitleBytesin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The bytes for title.
-
setTitle
Title of the chunk.
optional string title = 2;- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Title of the chunk.
optional string title = 2;- Returns:
- This builder for chaining.
-
setTitleBytes
Title of the chunk.
optional string title = 2;- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
hasText
public boolean hasText()Text of the chunk.
optional string text = 3;- Specified by:
hasTextin interfaceGroundingChunk.MapsOrBuilder- Returns:
- Whether the text field is set.
-
getText
Text of the chunk.
optional string text = 3;- Specified by:
getTextin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()Text of the chunk.
optional string text = 3;- Specified by:
getTextBytesin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The bytes for text.
-
setText
Text of the chunk.
optional string text = 3;- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
Text of the chunk.
optional string text = 3;- Returns:
- This builder for chaining.
-
setTextBytes
Text of the chunk.
optional string text = 3;- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
hasPlaceId
public boolean hasPlaceId()This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.optional string place_id = 4;- Specified by:
hasPlaceIdin interfaceGroundingChunk.MapsOrBuilder- Returns:
- Whether the placeId field is set.
-
getPlaceId
This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.optional string place_id = 4;- Specified by:
getPlaceIdin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The placeId.
-
getPlaceIdBytes
public com.google.protobuf.ByteString getPlaceIdBytes()This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.optional string place_id = 4;- Specified by:
getPlaceIdBytesin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The bytes for placeId.
-
setPlaceId
This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.optional string place_id = 4;- Parameters:
value- The placeId to set.- Returns:
- This builder for chaining.
-
clearPlaceId
This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.optional string place_id = 4;- Returns:
- This builder for chaining.
-
setPlaceIdBytes
This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.optional string place_id = 4;- Parameters:
value- The bytes for placeId to set.- Returns:
- This builder for chaining.
-
hasPlaceAnswerSources
public boolean hasPlaceAnswerSources()Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;- Specified by:
hasPlaceAnswerSourcesin interfaceGroundingChunk.MapsOrBuilder- Returns:
- Whether the placeAnswerSources field is set.
-
getPlaceAnswerSources
Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;- Specified by:
getPlaceAnswerSourcesin interfaceGroundingChunk.MapsOrBuilder- Returns:
- The placeAnswerSources.
-
setPlaceAnswerSources
public GroundingChunk.Maps.Builder setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value) Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; -
setPlaceAnswerSources
public GroundingChunk.Maps.Builder setPlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources.Builder builderForValue) Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; -
mergePlaceAnswerSources
public GroundingChunk.Maps.Builder mergePlaceAnswerSources(GroundingChunk.Maps.PlaceAnswerSources value) Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; -
clearPlaceAnswerSources
Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; -
getPlaceAnswerSourcesBuilder
Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; -
getPlaceAnswerSourcesOrBuilder
Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;- Specified by:
getPlaceAnswerSourcesOrBuilderin interfaceGroundingChunk.MapsOrBuilder
-