Send feedback
Class FacetValue.Builder (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FacetValue . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public FacetValue build ()
buildPartial()
public FacetValue buildPartial ()
clear()
public FacetValue . Builder clear ()
Overrides
clearDatetimeValue()
public FacetValue . Builder clearDatetimeValue ()
Datetime type value.
.google.type.DateTime datetime_value = 3;
clearField(Descriptors.FieldDescriptor field)
public FacetValue . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearIntegerValue()
public FacetValue . Builder clearIntegerValue ()
Integer type value.
int64 integer_value = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public FacetValue . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStringValue()
public FacetValue . Builder clearStringValue ()
String type value.
string string_value = 1;
clearValue()
public FacetValue . Builder clearValue ()
clone()
public FacetValue . Builder clone ()
Overrides
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
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
mergeFrom(FacetValue other)
public FacetValue . Builder mergeFrom ( FacetValue other )
public FacetValue . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public FacetValue . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FacetValue . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public FacetValue . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FacetValue . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final FacetValue . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]