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 boolean
getBooleanValue()
Represents a boolean value.com.google.type.DateTime
getDatetimeValue()
Represents a datetime value.com.google.type.DateTimeOrBuilder
getDatetimeValueOrBuilder()
Represents a datetime value.EnumValue
getEnumValue()
Represents an enum value.EnumValueOrBuilder
getEnumValueOrBuilder()
Represents an enum value.float
getFloatValue()
Represents a float value.int
getIntValue()
Represents a integer value.Value.KindCase
getKindCase()
String
getStringValue()
Represents a string value.com.google.protobuf.ByteString
getStringValueBytes()
Represents a string value.TimestampValue
getTimestampValue()
Represents a timestamp value.TimestampValueOrBuilder
getTimestampValueOrBuilder()
Represents a timestamp value.boolean
hasBooleanValue()
Represents a boolean value.boolean
hasDatetimeValue()
Represents a datetime value.boolean
hasEnumValue()
Represents an enum value.boolean
hasFloatValue()
Represents a float value.boolean
hasIntValue()
Represents a integer value.boolean
hasStringValue()
Represents a string value.boolean
hasTimestampValue()
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()
-
-