public static final class FacetValue.Builder extends GeneratedMessageV3.Builder<FacetValue.Builder> implements FacetValueOrBuilder
Definition of a single value with generic type.
Protobuf type google.cloud.visionai.v1.FacetValue
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FacetValue.BuilderImplements
FacetValueOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FacetValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public FacetValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FacetValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
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 |
clone()
public FacetValue.Builder clone()
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FacetValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
setField(Descriptors.FieldDescriptor field, Object value)
public FacetValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
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 |
long The integerValue to set. |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FacetValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
setStringValue(String value)
public FacetValue.Builder setStringValue(String value)
String type value.
string string_value = 1;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for stringValue to set. |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FacetValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FacetValue.Builder |