Class AttributeValue (0.14.1)

public final class AttributeValue extends GeneratedMessageV3 implements AttributeValueOrBuilder

Represents an actual value of an operator attribute.

Protobuf type google.events.cloud.visionai.v1.AttributeValue

Static Fields

B_FIELD_NUMBER

public static final int B_FIELD_NUMBER
Field Value
TypeDescription
int

F_FIELD_NUMBER

public static final int F_FIELD_NUMBER
Field Value
TypeDescription
int

I_FIELD_NUMBER

public static final int I_FIELD_NUMBER
Field Value
TypeDescription
int

S_FIELD_NUMBER

public static final int S_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AttributeValue getDefaultInstance()
Returns
TypeDescription
AttributeValue

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AttributeValue.Builder newBuilder()
Returns
TypeDescription
AttributeValue.Builder

newBuilder(AttributeValue prototype)

public static AttributeValue.Builder newBuilder(AttributeValue prototype)
Parameter
NameDescription
prototypeAttributeValue
Returns
TypeDescription
AttributeValue.Builder

parseDelimitedFrom(InputStream input)

public static AttributeValue parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttributeValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AttributeValue parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttributeValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttributeValue parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttributeValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttributeValue parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttributeValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AttributeValue parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttributeValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AttributeValue parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttributeValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttributeValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AttributeValue> parser()
Returns
TypeDescription
Parser<AttributeValue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getB()

public boolean getB()

bool.

bool b = 3;

Returns
TypeDescription
boolean

The b.

getDefaultInstanceForType()

public AttributeValue getDefaultInstanceForType()
Returns
TypeDescription
AttributeValue

getF()

public float getF()

float.

float f = 2;

Returns
TypeDescription
float

The f.

getI()

public long getI()

int.

int64 i = 1;

Returns
TypeDescription
long

The i.

getParserForType()

public Parser<AttributeValue> getParserForType()
Returns
TypeDescription
Parser<AttributeValue>
Overrides

getS()

public ByteString getS()

string.

bytes s = 4;

Returns
TypeDescription
ByteString

The s.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValueCase()

public AttributeValue.ValueCase getValueCase()
Returns
TypeDescription
AttributeValue.ValueCase

hasB()

public boolean hasB()

bool.

bool b = 3;

Returns
TypeDescription
boolean

Whether the b field is set.

hasF()

public boolean hasF()

float.

float f = 2;

Returns
TypeDescription
boolean

Whether the f field is set.

hasI()

public boolean hasI()

int.

int64 i = 1;

Returns
TypeDescription
boolean

Whether the i field is set.

hasS()

public boolean hasS()

string.

bytes s = 4;

Returns
TypeDescription
boolean

Whether the s field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AttributeValue.Builder newBuilderForType()
Returns
TypeDescription
AttributeValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttributeValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AttributeValue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AttributeValue.Builder toBuilder()
Returns
TypeDescription
AttributeValue.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException