public static final class RawImageDescriptor.Builder extends GeneratedMessageV3.Builder<RawImageDescriptor.Builder> implements RawImageDescriptorOrBuilder
The descriptor for a raw image.
Protobuf type google.cloud.visionai.v1.RawImageDescriptor
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RawImageDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RawImageDescriptor build()
buildPartial()
public RawImageDescriptor buildPartial()
clear()
public RawImageDescriptor.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RawImageDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RawImageDescriptor.Builder clearFormat()
Raw image format. Its possible values are: "srgb".
string format = 1;
clearHeight()
public RawImageDescriptor.Builder clearHeight()
The height of the image.
int32 height = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public RawImageDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearWidth()
public RawImageDescriptor.Builder clearWidth()
The width of the image.
int32 width = 3;
clone()
public RawImageDescriptor.Builder clone()
Overrides
getDefaultInstanceForType()
public RawImageDescriptor getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getFormat()
Raw image format. Its possible values are: "srgb".
string format = 1;
Returns |
Type |
Description |
String |
The format.
|
public ByteString getFormatBytes()
Raw image format. Its possible values are: "srgb".
string format = 1;
Returns |
Type |
Description |
ByteString |
The bytes for format.
|
getHeight()
The height of the image.
int32 height = 2;
Returns |
Type |
Description |
int |
The height.
|
getWidth()
The width of the image.
int32 width = 3;
Returns |
Type |
Description |
int |
The width.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RawImageDescriptor other)
public RawImageDescriptor.Builder mergeFrom(RawImageDescriptor other)
public RawImageDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RawImageDescriptor.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RawImageDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RawImageDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RawImageDescriptor.Builder setFormat(String value)
Raw image format. Its possible values are: "srgb".
string format = 1;
Parameter |
Name |
Description |
value |
String
The format to set.
|
public RawImageDescriptor.Builder setFormatBytes(ByteString value)
Raw image format. Its possible values are: "srgb".
string format = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for format to set.
|
setHeight(int value)
public RawImageDescriptor.Builder setHeight(int value)
The height of the image.
int32 height = 2;
Parameter |
Name |
Description |
value |
int
The height to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RawImageDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RawImageDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setWidth(int value)
public RawImageDescriptor.Builder setWidth(int value)
The width of the image.
int32 width = 3;
Parameter |
Name |
Description |
value |
int
The width to set.
|