Interface CreateNamespaceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateNamespaceRequest
,CreateNamespaceRequest.Builder
public interface CreateNamespaceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Namespace
getNamespace()
Required.String
getNamespaceId()
Required.com.google.protobuf.ByteString
getNamespaceIdBytes()
Required.NamespaceOrBuilder
getNamespaceOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasNamespace()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getNamespaceId
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](?:[-a-z0-9]{0,61}[a-z0-9])?` 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:
- The namespaceId.
-
getNamespaceIdBytes
com.google.protobuf.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](?:[-a-z0-9]{0,61}[a-z0-9])?` 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:
- The bytes for namespaceId.
-
hasNamespace
boolean hasNamespace()
Required. A namespace with initial fields set.
.google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the namespace field is set.
-
getNamespace
Namespace getNamespace()
Required. A namespace with initial fields set.
.google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The namespace.
-
getNamespaceOrBuilder
NamespaceOrBuilder getNamespaceOrBuilder()
Required. A namespace with initial fields set.
.google.cloud.servicedirectory.v1.Namespace namespace = 3 [(.google.api.field_behavior) = REQUIRED];
-
-