Interface AttributeValuesOrBuilder (0.5.0)

public interface AttributeValuesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttribute()

public abstract String getAttribute()

Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}

string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The attribute.

getAttributeBytes()

public abstract ByteString getAttributeBytes()

Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}

string attribute = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for attribute.

getEnumValues()

public abstract AttributeValues.EnumAttributeValues getEnumValues()

The attribute values associated with a resource in case attribute data type is enum.

.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;

Returns
Type Description
AttributeValues.EnumAttributeValues

The enumValues.

getEnumValuesOrBuilder()

public abstract AttributeValues.EnumAttributeValuesOrBuilder getEnumValuesOrBuilder()

The attribute values associated with a resource in case attribute data type is enum.

.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;

Returns
Type Description
AttributeValues.EnumAttributeValuesOrBuilder

getJsonValues()

public abstract AttributeValues.StringAttributeValues getJsonValues()

The attribute values associated with a resource in case attribute data type is JSON.

.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;

Returns
Type Description
AttributeValues.StringAttributeValues

The jsonValues.

getJsonValuesOrBuilder()

public abstract AttributeValues.StringAttributeValuesOrBuilder getJsonValuesOrBuilder()

The attribute values associated with a resource in case attribute data type is JSON.

.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;

Returns
Type Description
AttributeValues.StringAttributeValuesOrBuilder

getStringValues()

public abstract AttributeValues.StringAttributeValues getStringValues()

The attribute values associated with a resource in case attribute data type is string.

.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;

Returns
Type Description
AttributeValues.StringAttributeValues

The stringValues.

getStringValuesOrBuilder()

public abstract AttributeValues.StringAttributeValuesOrBuilder getStringValuesOrBuilder()

The attribute values associated with a resource in case attribute data type is string.

.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;

Returns
Type Description
AttributeValues.StringAttributeValuesOrBuilder

getValueCase()

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

hasEnumValues()

public abstract boolean hasEnumValues()

The attribute values associated with a resource in case attribute data type is enum.

.google.cloud.apihub.v1.AttributeValues.EnumAttributeValues enum_values = 2;

Returns
Type Description
boolean

Whether the enumValues field is set.

hasJsonValues()

public abstract boolean hasJsonValues()

The attribute values associated with a resource in case attribute data type is JSON.

.google.cloud.apihub.v1.AttributeValues.StringAttributeValues json_values = 4;

Returns
Type Description
boolean

Whether the jsonValues field is set.

hasStringValues()

public abstract boolean hasStringValues()

The attribute values associated with a resource in case attribute data type is string.

.google.cloud.apihub.v1.AttributeValues.StringAttributeValues string_values = 3;

Returns
Type Description
boolean

Whether the stringValues field is set.