Interface ValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Value,Value.Builder
public interface ValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBooleanValue()Represents a boolean value.com.google.type.DateTimegetDatetimeValue()Represents a datetime value.com.google.type.DateTimeOrBuildergetDatetimeValueOrBuilder()Represents a datetime value.EnumValuegetEnumValue()Represents an enum value.EnumValueOrBuildergetEnumValueOrBuilder()Represents an enum value.floatgetFloatValue()Represents a float value.intgetIntValue()Represents a integer value.Value.KindCasegetKindCase()StringgetStringValue()Represents a string value.com.google.protobuf.ByteStringgetStringValueBytes()Represents a string value.TimestampValuegetTimestampValue()Represents a timestamp value.TimestampValueOrBuildergetTimestampValueOrBuilder()Represents a timestamp value.booleanhasBooleanValue()Represents a boolean value.booleanhasDatetimeValue()Represents a datetime value.booleanhasEnumValue()Represents an enum value.booleanhasFloatValue()Represents a float value.booleanhasIntValue()Represents a integer value.booleanhasStringValue()Represents a string value.booleanhasTimestampValue()Represents a timestamp value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFloatValue
boolean hasFloatValue()
Represents a float value.
float float_value = 1;- Returns:
- Whether the floatValue field is set.
-
getFloatValue
float getFloatValue()
Represents a float value.
float float_value = 1;- Returns:
- The floatValue.
-
hasIntValue
boolean hasIntValue()
Represents a integer value.
int32 int_value = 2;- Returns:
- Whether the intValue field is set.
-
getIntValue
int getIntValue()
Represents a integer value.
int32 int_value = 2;- Returns:
- The intValue.
-
hasStringValue
boolean hasStringValue()
Represents a string value.
string string_value = 3;- Returns:
- Whether the stringValue field is set.
-
getStringValue
String getStringValue()
Represents a string value.
string string_value = 3;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()
Represents a string value.
string string_value = 3;- Returns:
- The bytes for stringValue.
-
hasEnumValue
boolean hasEnumValue()
Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;- Returns:
- Whether the enumValue field is set.
-
getEnumValue
EnumValue getEnumValue()
Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;- Returns:
- The enumValue.
-
getEnumValueOrBuilder
EnumValueOrBuilder getEnumValueOrBuilder()
Represents an enum value.
.google.cloud.contentwarehouse.v1.EnumValue enum_value = 4;
-
hasDatetimeValue
boolean hasDatetimeValue()
Represents a datetime value.
.google.type.DateTime datetime_value = 5;- Returns:
- Whether the datetimeValue field is set.
-
getDatetimeValue
com.google.type.DateTime getDatetimeValue()
Represents a datetime value.
.google.type.DateTime datetime_value = 5;- Returns:
- The datetimeValue.
-
getDatetimeValueOrBuilder
com.google.type.DateTimeOrBuilder getDatetimeValueOrBuilder()
Represents a datetime value.
.google.type.DateTime datetime_value = 5;
-
hasTimestampValue
boolean hasTimestampValue()
Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
TimestampValue getTimestampValue()
Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;- Returns:
- The timestampValue.
-
getTimestampValueOrBuilder
TimestampValueOrBuilder getTimestampValueOrBuilder()
Represents a timestamp value.
.google.cloud.contentwarehouse.v1.TimestampValue timestamp_value = 6;
-
hasBooleanValue
boolean hasBooleanValue()
Represents a boolean value.
bool boolean_value = 7;- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
boolean getBooleanValue()
Represents a boolean value.
bool boolean_value = 7;- Returns:
- The booleanValue.
-
getKindCase
Value.KindCase getKindCase()
-
-