public static final class Property.Builder extends GeneratedMessageV3.Builder<Property.Builder> implements PropertyOrBuilder
A Property
consists of a user-supplied name/value pair.
Protobuf type google.cloud.vision.v1p4beta1.Property
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Property.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Property buildPartial()
Returns
clear()
public Property.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Property.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public Property.Builder clearName()
Name of the property.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Property.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUint64Value()
public Property.Builder clearUint64Value()
Value of numeric properties.
uint64 uint64_value = 3;
Returns
clearValue()
public Property.Builder clearValue()
Value of the property.
string value = 2;
Returns
clone()
public Property.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Property getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Name of the property.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the property.
string name = 1;
Returns
getUint64Value()
public long getUint64Value()
Value of numeric properties.
uint64 uint64_value = 3;
Returns
Type | Description |
long | The uint64Value.
|
getValue()
Value of the property.
string value = 2;
Returns
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
Value of the property.
string value = 2;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Property other)
public Property.Builder mergeFrom(Property other)
Parameter
Returns
public Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Property.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Property.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Property.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public Property.Builder setName(String value)
Name of the property.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public Property.Builder setNameBytes(ByteString value)
Name of the property.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Property.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUint64Value(long value)
public Property.Builder setUint64Value(long value)
Value of numeric properties.
uint64 uint64_value = 3;
Parameter
Name | Description |
value | long
The uint64Value to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Property.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValue(String value)
public Property.Builder setValue(String value)
Value of the property.
string value = 2;
Parameter
Name | Description |
value | String
The value to set.
|
Returns
setValueBytes(ByteString value)
public Property.Builder setValueBytes(ByteString value)
Value of the property.
string value = 2;
Parameter
Name | Description |
value | ByteString
The bytes for value to set.
|
Returns