public static final class FacetValue.Builder extends GeneratedMessage.Builder<FacetValue.Builder> implements FacetValueOrBuilderDefinition of a single value with generic type.
Protobuf type google.cloud.visionai.v1.FacetValue
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FacetValue.BuilderImplements
FacetValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FacetValue build()| Returns | |
|---|---|
| Type | Description |
FacetValue |
|
buildPartial()
public FacetValue buildPartial()| Returns | |
|---|---|
| Type | Description |
FacetValue |
|
clear()
public FacetValue.Builder clear()| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
clearDatetimeValue()
public FacetValue.Builder clearDatetimeValue()Datetime type value.
.google.type.DateTime datetime_value = 3;
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
clearIntegerValue()
public FacetValue.Builder clearIntegerValue()Integer type value.
int64 integer_value = 2;
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
This builder for chaining. |
clearStringValue()
public FacetValue.Builder clearStringValue()String type value.
string string_value = 1;
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
This builder for chaining. |
clearValue()
public FacetValue.Builder clearValue()| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
getDatetimeValue()
public DateTime getDatetimeValue()Datetime type value.
.google.type.DateTime datetime_value = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateTime |
The datetimeValue. |
getDatetimeValueBuilder()
public DateTime.Builder getDatetimeValueBuilder()Datetime type value.
.google.type.DateTime datetime_value = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.type.DateTime.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIntegerValue()
public long getIntegerValue()Integer type value.
int64 integer_value = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The integerValue. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDatetimeValue(DateTime value)
public FacetValue.Builder mergeDatetimeValue(DateTime value)Datetime type value.
.google.type.DateTime datetime_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.DateTime |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
mergeFrom(FacetValue other)
public FacetValue.Builder mergeFrom(FacetValue other)| Parameter | |
|---|---|
| Name | Description |
other |
FacetValue |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FacetValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FacetValue.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
setDatetimeValue(DateTime value)
public FacetValue.Builder setDatetimeValue(DateTime value)Datetime type value.
.google.type.DateTime datetime_value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.DateTime |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
setDatetimeValue(DateTime.Builder builderForValue)
public FacetValue.Builder setDatetimeValue(DateTime.Builder builderForValue)Datetime type value.
.google.type.DateTime datetime_value = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.DateTime.Builder |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
|
setIntegerValue(long value)
public FacetValue.Builder setIntegerValue(long value)Integer type value.
int64 integer_value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe integerValue to set. |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
This builder for chaining. |
setStringValue(String value)
public FacetValue.Builder setStringValue(String value)String type value.
string string_value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
This builder for chaining. |
setStringValueBytes(ByteString value)
public FacetValue.Builder setStringValueBytes(ByteString value)String type value.
string string_value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for stringValue to set. |
| Returns | |
|---|---|
| Type | Description |
FacetValue.Builder |
This builder for chaining. |