public final class FacetValue extends GeneratedMessageV3 implements FacetValueOrBuilder
Definition of a single value with generic type.
Protobuf type google.cloud.visionai.v1.FacetValue
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FacetValueImplements
FacetValueOrBuilderStatic Fields
DATETIME_VALUE_FIELD_NUMBER
public static final int DATETIME_VALUE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INTEGER_VALUE_FIELD_NUMBER
public static final int INTEGER_VALUE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static FacetValue getDefaultInstance()
Returns | |
---|---|
Type | Description |
FacetValue |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static FacetValue.Builder newBuilder()
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
newBuilder(FacetValue prototype)
public static FacetValue.Builder newBuilder(FacetValue prototype)
Parameter | |
---|---|
Name | Description |
prototype |
FacetValue |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
parseDelimitedFrom(InputStream input)
public static FacetValue parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FacetValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static FacetValue parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FacetValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static FacetValue parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FacetValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static FacetValue parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FacetValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static FacetValue parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FacetValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static FacetValue parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FacetValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FacetValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<FacetValue> parser()
Returns | |
---|---|
Type | Description |
Parser<FacetValue> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDatetimeValue()
public DateTime getDatetimeValue()
Datetime type value.
.google.type.DateTime datetime_value = 3;
Returns | |
---|---|
Type | Description |
com.google.type.DateTime |
The datetimeValue. |
getDatetimeValueOrBuilder()
public DateTimeOrBuilder getDatetimeValueOrBuilder()
Datetime type value.
.google.type.DateTime datetime_value = 3;
Returns | |
---|---|
Type | Description |
com.google.type.DateTimeOrBuilder |
getDefaultInstanceForType()
public FacetValue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FacetValue |
getIntegerValue()
public long getIntegerValue()
Integer type value.
int64 integer_value = 2;
Returns | |
---|---|
Type | Description |
long |
The integerValue. |
getParserForType()
public Parser<FacetValue> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<FacetValue> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getStringValue()
public String getStringValue()
String type value.
string string_value = 1;
Returns | |
---|---|
Type | Description |
String |
The stringValue. |
getStringValueBytes()
public ByteString getStringValueBytes()
String type value.
string string_value = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for stringValue. |
getValueCase()
public FacetValue.ValueCase getValueCase()
Returns | |
---|---|
Type | Description |
FacetValue.ValueCase |
hasDatetimeValue()
public boolean hasDatetimeValue()
Datetime type value.
.google.type.DateTime datetime_value = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the datetimeValue field is set. |
hasIntegerValue()
public boolean hasIntegerValue()
Integer type value.
int64 integer_value = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the integerValue field is set. |
hasStringValue()
public boolean hasStringValue()
String type value.
string string_value = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stringValue field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public FacetValue.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FacetValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public FacetValue.Builder toBuilder()
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |