public static final class GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder> implements GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.ImageOrBuilder
Metadata about the image.Protobuf type
google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.ImageaddRepeatedField, 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<GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.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<GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder mergeFrom(GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder>public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.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<GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder>IOExceptionpublic String getUri()
The url of the image.
string uri = 1;getUri in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.ImageOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
The url of the image.
string uri = 1;getUriBytes in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.ImageOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder setUri(String value)
The url of the image.
string uri = 1;value - The uri to set.public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder clearUri()
The url of the image.
string uri = 1;public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder setUriBytes(com.google.protobuf.ByteString value)
The url of the image.
string uri = 1;value - The bytes for uri to set.public int getWidth()
The width of the image in pixels.
int32 width = 2;getWidth in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.ImageOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder setWidth(int value)
The width of the image in pixels.
int32 width = 2;value - The width to set.public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder clearWidth()
The width of the image in pixels.
int32 width = 2;public int getHeight()
The height of the image in pixels.
int32 height = 3;getHeight in interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.ImageOrBuilderpublic GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder setHeight(int value)
The height of the image in pixels.
int32 height = 3;value - The height to set.public GenerateGroundedContentResponse.Candidate.GroundingMetadata.ImageMetadata.Image.Builder clearHeight()
The height of the image in pixels.
int32 height = 3;Copyright © 2026 Google LLC. All rights reserved.