Interface ValueOrBuilder (1.45.0)

public interface ValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBooleanValue()

public abstract boolean getBooleanValue()

Defines this value as being a boolean value.

bool boolean_value = 1;

Returns
Type Description
boolean

The booleanValue.

getEnumValue()

public abstract Value.EnumValue getEnumValue()

Defines this value as being a Enum.

.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;

Returns
Type Description
Value.EnumValue

The enumValue.

getEnumValueOrBuilder()

public abstract Value.EnumValueOrBuilder getEnumValueOrBuilder()

Defines this value as being a Enum.

.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;

Returns
Type Description
Value.EnumValueOrBuilder

getStringSetValue()

public abstract Value.StringSet getStringSetValue()

Defines this value as being a StringSet.

.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;

Returns
Type Description
Value.StringSet

The stringSetValue.

getStringSetValueOrBuilder()

public abstract Value.StringSetOrBuilder getStringSetValueOrBuilder()

Defines this value as being a StringSet.

.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;

Returns
Type Description
Value.StringSetOrBuilder

getStringValue()

public abstract String getStringValue()

Defines this value as being a string value.

string string_value = 2;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

Defines this value as being a string value.

string string_value = 2;

Returns
Type Description
ByteString

The bytes for stringValue.

getValueCase()

public abstract Value.ValueCase getValueCase()
Returns
Type Description
Value.ValueCase

hasBooleanValue()

public abstract boolean hasBooleanValue()

Defines this value as being a boolean value.

bool boolean_value = 1;

Returns
Type Description
boolean

Whether the booleanValue field is set.

hasEnumValue()

public abstract boolean hasEnumValue()

Defines this value as being a Enum.

.google.cloud.resourcesettings.v1.Value.EnumValue enum_value = 4;

Returns
Type Description
boolean

Whether the enumValue field is set.

hasStringSetValue()

public abstract boolean hasStringSetValue()

Defines this value as being a StringSet.

.google.cloud.resourcesettings.v1.Value.StringSet string_set_value = 3;

Returns
Type Description
boolean

Whether the stringSetValue field is set.

hasStringValue()

public abstract boolean hasStringValue()

Defines this value as being a string value.

string string_value = 2;

Returns
Type Description
boolean

Whether the stringValue field is set.