Package com.google.api.expr.v1alpha1
Interface ConstantOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Constant
,Constant.Builder
public interface ConstantOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
getBoolValue()
boolean value.com.google.protobuf.ByteString
getBytesValue()
bytes value.Constant.ConstantKindCase
getConstantKindCase()
double
getDoubleValue()
double value.com.google.protobuf.Duration
getDurationValue()
Deprecated.google.api.expr.v1alpha1.Constant.duration_value is deprecated.com.google.protobuf.DurationOrBuilder
getDurationValueOrBuilder()
Deprecated.long
getInt64Value()
int64 value.com.google.protobuf.NullValue
getNullValue()
null value.int
getNullValueValue()
null value.java.lang.String
getStringValue()
string value.com.google.protobuf.ByteString
getStringValueBytes()
string value.com.google.protobuf.Timestamp
getTimestampValue()
Deprecated.google.api.expr.v1alpha1.Constant.timestamp_value is deprecated.com.google.protobuf.TimestampOrBuilder
getTimestampValueOrBuilder()
Deprecated.long
getUint64Value()
uint64 value.boolean
hasBoolValue()
boolean value.boolean
hasBytesValue()
bytes value.boolean
hasDoubleValue()
double value.boolean
hasDurationValue()
Deprecated.google.api.expr.v1alpha1.Constant.duration_value is deprecated.boolean
hasInt64Value()
int64 value.boolean
hasNullValue()
null value.boolean
hasStringValue()
string value.boolean
hasTimestampValue()
Deprecated.google.api.expr.v1alpha1.Constant.timestamp_value is deprecated.boolean
hasUint64Value()
uint64 value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNullValue
boolean hasNullValue()
null value.
.google.protobuf.NullValue null_value = 1;
- Returns:
- Whether the nullValue field is set.
-
getNullValueValue
int getNullValueValue()
null value.
.google.protobuf.NullValue null_value = 1;
- Returns:
- The enum numeric value on the wire for nullValue.
-
getNullValue
com.google.protobuf.NullValue getNullValue()
null value.
.google.protobuf.NullValue null_value = 1;
- Returns:
- The nullValue.
-
hasBoolValue
boolean hasBoolValue()
boolean value.
bool bool_value = 2;
- Returns:
- Whether the boolValue field is set.
-
getBoolValue
boolean getBoolValue()
boolean value.
bool bool_value = 2;
- Returns:
- The boolValue.
-
hasInt64Value
boolean hasInt64Value()
int64 value.
int64 int64_value = 3;
- Returns:
- Whether the int64Value field is set.
-
getInt64Value
long getInt64Value()
int64 value.
int64 int64_value = 3;
- Returns:
- The int64Value.
-
hasUint64Value
boolean hasUint64Value()
uint64 value.
uint64 uint64_value = 4;
- Returns:
- Whether the uint64Value field is set.
-
getUint64Value
long getUint64Value()
uint64 value.
uint64 uint64_value = 4;
- Returns:
- The uint64Value.
-
hasDoubleValue
boolean hasDoubleValue()
double value.
double double_value = 5;
- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()
double value.
double double_value = 5;
- Returns:
- The doubleValue.
-
hasStringValue
boolean hasStringValue()
string value.
string string_value = 6;
- Returns:
- Whether the stringValue field is set.
-
getStringValue
java.lang.String getStringValue()
string value.
string string_value = 6;
- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()
string value.
string string_value = 6;
- Returns:
- The bytes for stringValue.
-
hasBytesValue
boolean hasBytesValue()
bytes value.
bytes bytes_value = 7;
- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
com.google.protobuf.ByteString getBytesValue()
bytes value.
bytes bytes_value = 7;
- Returns:
- The bytesValue.
-
hasDurationValue
@Deprecated boolean hasDurationValue()
Deprecated.google.api.expr.v1alpha1.Constant.duration_value is deprecated. See google/api/expr/v1alpha1/syntax.proto;l=283protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
- Returns:
- Whether the durationValue field is set.
-
getDurationValue
@Deprecated com.google.protobuf.Duration getDurationValue()
Deprecated.google.api.expr.v1alpha1.Constant.duration_value is deprecated. See google/api/expr/v1alpha1/syntax.proto;l=283protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
- Returns:
- The durationValue.
-
getDurationValueOrBuilder
@Deprecated com.google.protobuf.DurationOrBuilder getDurationValueOrBuilder()
Deprecated.protobuf.Duration value. Deprecated: duration is no longer considered a builtin cel type.
.google.protobuf.Duration duration_value = 8 [deprecated = true];
-
hasTimestampValue
@Deprecated boolean hasTimestampValue()
Deprecated.google.api.expr.v1alpha1.Constant.timestamp_value is deprecated. See google/api/expr/v1alpha1/syntax.proto;l=288protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
@Deprecated com.google.protobuf.Timestamp getTimestampValue()
Deprecated.google.api.expr.v1alpha1.Constant.timestamp_value is deprecated. See google/api/expr/v1alpha1/syntax.proto;l=288protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
- Returns:
- The timestampValue.
-
getTimestampValueOrBuilder
@Deprecated com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()
Deprecated.protobuf.Timestamp value. Deprecated: timestamp is no longer considered a builtin cel type.
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
-
getConstantKindCase
Constant.ConstantKindCase getConstantKindCase()
-
-