public static final class AttributeValue.Builder extends GeneratedMessage.Builder<AttributeValue.Builder> implements AttributeValueOrBuilderRepresents an actual value of an operator attribute.
Protobuf type google.cloud.visionai.v1.AttributeValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AttributeValue.BuilderImplements
AttributeValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AttributeValue build()| Returns | |
|---|---|
| Type | Description |
AttributeValue |
|
buildPartial()
public AttributeValue buildPartial()| Returns | |
|---|---|
| Type | Description |
AttributeValue |
|
clear()
public AttributeValue.Builder clear()| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
|
clearB()
public AttributeValue.Builder clearB()bool.
bool b = 3;
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |
clearF()
public AttributeValue.Builder clearF()float.
float f = 2;
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |
clearI()
public AttributeValue.Builder clearI()int.
int64 i = 1;
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |
clearS()
public AttributeValue.Builder clearS()string.
bytes s = 4;
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |
clearValue()
public AttributeValue.Builder clearValue()| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
|
getB()
public boolean getB()bool.
bool b = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The b. |
getDefaultInstanceForType()
public AttributeValue getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AttributeValue |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getF()
public float getF()float.
float f = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The f. |
getI()
public long getI()int.
int64 i = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The i. |
getS()
public ByteString getS()string.
bytes s = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The s. |
getValueCase()
public AttributeValue.ValueCase getValueCase()| Returns | |
|---|---|
| Type | Description |
AttributeValue.ValueCase |
|
hasB()
public boolean hasB()bool.
bool b = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the b field is set. |
hasF()
public boolean hasF()float.
float f = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the f field is set. |
hasI()
public boolean hasI()int.
int64 i = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the i field is set. |
hasS()
public boolean hasS()string.
bytes s = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the s field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AttributeValue other)
public AttributeValue.Builder mergeFrom(AttributeValue other)| Parameter | |
|---|---|
| Name | Description |
other |
AttributeValue |
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttributeValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AttributeValue.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
|
setB(boolean value)
public AttributeValue.Builder setB(boolean value)bool.
bool b = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe b to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |
setF(float value)
public AttributeValue.Builder setF(float value)float.
float f = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe f to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |
setI(long value)
public AttributeValue.Builder setI(long value)int.
int64 i = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe i to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |
setS(ByteString value)
public AttributeValue.Builder setS(ByteString value)string.
bytes s = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe s to set. |
| Returns | |
|---|---|
| Type | Description |
AttributeValue.Builder |
This builder for chaining. |