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