Send feedback
Class InputImage.Builder (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class InputImage . Builder extends GeneratedMessageV3 . Builder<InputImage . Builder > implements InputImageOrBuilder
Represents an input image.
Protobuf type google.shopping.merchant.productstudio.v1alpha.InputImage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public InputImage . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public InputImage build ()
public InputImage buildPartial ()
public InputImage . Builder clear ()
Overrides
public InputImage . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public InputImage . Builder clearImage ()
public InputImage . Builder clearImageBytes ()
Raw image bytes.
bytes image_bytes = 2;
public InputImage . Builder clearImageUri ()
Public uri of the image.
string image_uri = 1;
public InputImage . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public InputImage . Builder clone ()
Overrides
public InputImage getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public ByteString getImageBytes ()
Raw image bytes.
bytes image_bytes = 2;
Returns
Type
Description
ByteString
The imageBytes.
public InputImage . ImageCase getImageCase ()
public String getImageUri ()
Public uri of the image.
string image_uri = 1;
Returns
Type
Description
String
The imageUri.
public ByteString getImageUriBytes ()
Public uri of the image.
string image_uri = 1;
Returns
Type
Description
ByteString
The bytes for imageUri.
public boolean hasImageBytes ()
Raw image bytes.
bytes image_bytes = 2;
Returns
Type
Description
boolean
Whether the imageBytes field is set.
public boolean hasImageUri ()
Public uri of the image.
string image_uri = 1;
Returns
Type
Description
boolean
Whether the imageUri field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public InputImage . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public InputImage . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public InputImage . Builder mergeFrom ( InputImage other )
public final InputImage . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public InputImage . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public InputImage . Builder setImageBytes ( ByteString value )
Raw image bytes.
bytes image_bytes = 2;
Parameter
Name
Description
value
ByteString
The imageBytes to set.
public InputImage . Builder setImageUri ( String value )
Public uri of the image.
string image_uri = 1;
Parameter
Name
Description
value
String
The imageUri to set.
public InputImage . Builder setImageUriBytes ( ByteString value )
Public uri of the image.
string image_uri = 1;
Parameter
Name
Description
value
ByteString
The bytes for imageUri to set.
public InputImage . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final InputImage . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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-08-02 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-08-02 UTC."],[],[]]