Interface CreateScopeNamespaceRequestOrBuilder (1.85.0)

public interface CreateScopeNamespaceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent (project and location) where the Namespace will be created. Specified in the format projects/*/locations/*/scopes/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent (project and location) where the Namespace will be created. Specified in the format projects/*/locations/*/scopes/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getScopeNamespace()

public abstract Namespace getScopeNamespace()

Required. The fleet namespace to create.

.google.cloud.gkehub.v1.Namespace scope_namespace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Namespace

The scopeNamespace.

getScopeNamespaceId()

public abstract String getScopeNamespaceId()

Required. Client chosen ID for the Namespace. namespace_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: a-z0-9?, with a maximum length of 63 characters.

string scope_namespace_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The scopeNamespaceId.

getScopeNamespaceIdBytes()

public abstract ByteString getScopeNamespaceIdBytes()

Required. Client chosen ID for the Namespace. namespace_id must be a valid RFC 1123 compliant DNS label:

  1. At most 63 characters in length
  2. It must consist of lower case alphanumeric characters or -
  3. It must start and end with an alphanumeric character

    Which can be expressed as the regex: a-z0-9?, with a maximum length of 63 characters.

string scope_namespace_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for scopeNamespaceId.

getScopeNamespaceOrBuilder()

public abstract NamespaceOrBuilder getScopeNamespaceOrBuilder()

Required. The fleet namespace to create.

.google.cloud.gkehub.v1.Namespace scope_namespace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NamespaceOrBuilder

hasScopeNamespace()

public abstract boolean hasScopeNamespace()

Required. The fleet namespace to create.

.google.cloud.gkehub.v1.Namespace scope_namespace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the scopeNamespace field is set.