- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Property.BuilderImplements
PropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Property.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Property.Builder |
build()
public Property build()
Type | Description |
Property |
buildPartial()
public Property buildPartial()
Type | Description |
Property |
clear()
public Property.Builder clear()
Type | Description |
Property.Builder |
clearField(Descriptors.FieldDescriptor field)
public Property.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Property.Builder |
clearName()
public Property.Builder clearName()
Name of the property.
string name = 1;
Type | Description |
Property.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Property.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Property.Builder |
clearUint64Value()
public Property.Builder clearUint64Value()
Value of numeric properties.
uint64 uint64_value = 3;
Type | Description |
Property.Builder | This builder for chaining. |
clearValue()
public Property.Builder clearValue()
Value of the property.
string value = 2;
Type | Description |
Property.Builder | This builder for chaining. |
clone()
public Property.Builder clone()
Type | Description |
Property.Builder |
getDefaultInstanceForType()
public Property getDefaultInstanceForType()
Type | Description |
Property |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Name of the property.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the property.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getUint64Value()
public long getUint64Value()
Value of numeric properties.
uint64 uint64_value = 3;
Type | Description |
long | The uint64Value. |
getValue()
public String getValue()
Value of the property.
string value = 2;
Type | Description |
String | The value. |
getValueBytes()
public ByteString getValueBytes()
Value of the property.
string value = 2;
Type | Description |
ByteString | The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Property other)
public Property.Builder mergeFrom(Property other)
Name | Description |
other | Property |
Type | Description |
Property.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Property.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Property.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Property.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Property.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Property.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Property.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Property.Builder |
setName(String value)
public Property.Builder setName(String value)
Name of the property.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
Property.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Property.Builder setNameBytes(ByteString value)
Name of the property.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Property.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Property.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Property.Builder |
setUint64Value(long value)
public Property.Builder setUint64Value(long value)
Value of numeric properties.
uint64 uint64_value = 3;
Name | Description |
value | long The uint64Value to set. |
Type | Description |
Property.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Property.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Property.Builder |
setValue(String value)
public Property.Builder setValue(String value)
Value of the property.
string value = 2;
Name | Description |
value | String The value to set. |
Type | Description |
Property.Builder | This builder for chaining. |
setValueBytes(ByteString value)
public Property.Builder setValueBytes(ByteString value)
Value of the property.
string value = 2;
Name | Description |
value | ByteString The bytes for value to set. |
Type | Description |
Property.Builder | This builder for chaining. |