Interface SpaceOrBuilder (0.3.0)

public interface SpaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsTags(String key)

public abstract boolean containsTags(String key)

Optional. Input only. Immutable. Tags are key/values bound to space resource. Example: <code><code> "123/environment": "production" "123/costCenter": "marketing" </code></code>

For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.

map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Space creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Space creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Optional. Description for the space.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. Description for the space.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Optional. Display name for the space.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Optional. Display name for the space.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getEnableGcpSharedTemplates()

public abstract boolean getEnableGcpSharedTemplates()

Optional. Flag to enable Google opinionated shared templates.

optional bool enable_gcp_shared_templates = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableGcpSharedTemplates.

getGcsBucket()

public abstract String getGcsBucket()

Optional. An existing Google Cloud Storage bucket that you want to use instead of creating a new bucket during Application Design Center setup. If not provided, a default bucket is created during setup. The bucket must exist in the same project as the space. If the bucket name does not exist in the same project as the space, the request fails with an INVALID_ARGUMENT error. If you do not have access to the bucket, the request fails with a PERMISSION_DENIED error. Format: {$bucket_name} For example, if the Cloud Storage bucket URI is gs:\/\/{$bucket_name}, the format is {$bucket_name}.

string gcs_bucket = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcsBucket.

getGcsBucketBytes()

public abstract ByteString getGcsBucketBytes()

Optional. An existing Google Cloud Storage bucket that you want to use instead of creating a new bucket during Application Design Center setup. If not provided, a default bucket is created during setup. The bucket must exist in the same project as the space. If the bucket name does not exist in the same project as the space, the request fails with an INVALID_ARGUMENT error. If you do not have access to the bucket, the request fails with a PERMISSION_DENIED error. Format: {$bucket_name} For example, if the Cloud Storage bucket URI is gs:\/\/{$bucket_name}, the format is {$bucket_name}.

string gcs_bucket = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcsBucket.

getName()

public abstract String getName()

Identifier. The space name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The space name.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getTags() (deprecated)

public abstract Map<String,String> getTags()

Use #getTagsMap() instead.

Returns
Type Description
Map<String,String>

getTagsCount()

public abstract int getTagsCount()

Optional. Input only. Immutable. Tags are key/values bound to space resource. Example: <code><code> "123/environment": "production" "123/costCenter": "marketing" </code></code>

For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.

map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTagsMap()

public abstract Map<String,String> getTagsMap()

Optional. Input only. Immutable. Tags are key/values bound to space resource. Example: <code><code> "123/environment": "production" "123/costCenter": "marketing" </code></code>

For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.

map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getTagsOrDefault(String key, String defaultValue)

public abstract String getTagsOrDefault(String key, String defaultValue)

Optional. Input only. Immutable. Tags are key/values bound to space resource. Example: <code><code> "123/environment": "production" "123/costCenter": "marketing" </code></code>

For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.

map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTagsOrThrow(String key)

public abstract String getTagsOrThrow(String key)

Optional. Input only. Immutable. Tags are key/values bound to space resource. Example: <code><code> "123/environment": "production" "123/costCenter": "marketing" </code></code>

For more information on tag creation and management, see https://cloud.google.com/resource-manager/docs/tags/tags-overview.

map<string, string> tags = 8 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Space update timestamp

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Space update timestamp

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Space creation timestamp.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEnableGcpSharedTemplates()

public abstract boolean hasEnableGcpSharedTemplates()

Optional. Flag to enable Google opinionated shared templates.

optional bool enable_gcp_shared_templates = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enableGcpSharedTemplates field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Space update timestamp

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.