Send feedback
Class Property.Builder (3.47.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.47.0 keyboard_arrow_down
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.v1.Property
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 Property . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
buildPartial()
public Property buildPartial ()
clear()
public Property . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Property . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearName()
public Property . Builder clearName ()
Name of the property.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Property . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearUint64Value()
public Property . Builder clearUint64Value ()
Value of numeric properties.
uint64 uint64_value = 3;
clearValue()
public Property . Builder clearValue ()
Value of the property.
string value = 2;
clone()
public Property . Builder clone ()
Overrides
getDefaultInstanceForType()
public Property getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
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()
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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Property other)
public Property . Builder mergeFrom ( Property other )
Parameter
Name
Description
other
Property
public Property . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Property . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Property . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Property . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Property . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final Property . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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.
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.
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-01-27 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-01-27 UTC."],[],[]]