Interface CreateNamespaceRequestOrBuilder (2.5.0)

public interface CreateNamespaceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNamespace()

public abstract Namespace getNamespace()

Required. A namespace with initial fields set.

.google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Namespace

The namespace.

getNamespaceId()

public abstract String getNamespaceId()

Required. The Resource ID must be 1-63 characters long, and comply with <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

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

Returns
TypeDescription
String

The namespaceId.

getNamespaceIdBytes()

public abstract ByteString getNamespaceIdBytes()

Required. The Resource ID must be 1-63 characters long, and comply with <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

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

Returns
TypeDescription
ByteString

The bytes for namespaceId.

getNamespaceOrBuilder()

public abstract NamespaceOrBuilder getNamespaceOrBuilder()

Required. A namespace with initial fields set.

.google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NamespaceOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the project and location the namespace will be created in.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The resource name of the project and location the namespace will be created in.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasNamespace()

public abstract boolean hasNamespace()

Required. A namespace with initial fields set.

.google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the namespace field is set.