Package com.google.cloud.gkehub.v1
Interface CreateScopeNamespaceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateScopeNamespaceRequest,CreateScopeNamespaceRequest.Builder
@Generated
public interface CreateScopeNamespaceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getScopeNamespaceId
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]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
string scope_namespace_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The scopeNamespaceId.
-
getScopeNamespaceIdBytes
com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
string scope_namespace_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for scopeNamespaceId.
-
hasScopeNamespace
boolean hasScopeNamespace()Required. The fleet namespace to create.
.google.cloud.gkehub.v1.Namespace scope_namespace = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the scopeNamespace field is set.
-
getScopeNamespace
Namespace getScopeNamespace()Required. The fleet namespace to create.
.google.cloud.gkehub.v1.Namespace scope_namespace = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The scopeNamespace.
-
getScopeNamespaceOrBuilder
NamespaceOrBuilder getScopeNamespaceOrBuilder()Required. The fleet namespace to create.
.google.cloud.gkehub.v1.Namespace scope_namespace = 3 [(.google.api.field_behavior) = REQUIRED];
-