public static final class Property.Builder extends GeneratedMessage.Builder<Property.Builder> implements PropertyOrBuilder A Property consists of a user-supplied name/value pair.
Protobuf type google.cloud.vision.v1p3beta1.Property
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Property.BuilderImplements
PropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Property build()| Returns | |
|---|---|
| Type | Description |
Property |
|
buildPartial()
public Property buildPartial()| Returns | |
|---|---|
| Type | Description |
Property |
|
clear()
public Property.Builder clear()| Returns | |
|---|---|
| Type | Description |
Property.Builder |
|
clearName()
public Property.Builder clearName()Name of the property.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |
clearUint64Value()
public Property.Builder clearUint64Value()Value of numeric properties.
uint64 uint64_value = 3;
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |
clearValue()
public Property.Builder clearValue()Value of the property.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Property getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Property |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUint64Value()
public long getUint64Value()Value of numeric properties.
uint64 uint64_value = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The uint64Value. |
getValue()
public String 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Property other)
public Property.Builder mergeFrom(Property other)| Parameter | |
|---|---|
| Name | Description |
other |
Property |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Property.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
|
setName(String value)
public Property.Builder setName(String value)Name of the property.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Property.Builder setNameBytes(ByteString value)Name of the property.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |
setUint64Value(long value)
public Property.Builder setUint64Value(long value)Value of numeric properties.
uint64 uint64_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe uint64Value to set. |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |
setValue(String value)
public Property.Builder setValue(String value)Value of the property.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public Property.Builder setValueBytes(ByteString value)Value of the property.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
Property.Builder |
This builder for chaining. |