Package com.google.cloud.gkehub.v1alpha2
Interface CreateMembershipRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateMembershipRequest
,CreateMembershipRequest.Builder
public interface CreateMembershipRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getMembershipId()
Required.com.google.protobuf.ByteString
getMembershipIdBytes()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.Membership
getResource()
Required.MembershipOrBuilder
getResourceOrBuilder()
Required.boolean
hasResource()
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 parent (project and location) where the Memberships will be created. Specified in the format `projects/*/locations/*`.
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 Memberships will be created. Specified in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getMembershipId
String getMembershipId()
Required. Client chosen ID for the membership. `membership_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 membership_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The membershipId.
-
getMembershipIdBytes
com.google.protobuf.ByteString getMembershipIdBytes()
Required. Client chosen ID for the membership. `membership_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 membership_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for membershipId.
-
hasResource
boolean hasResource()
Required. The membership to create.
.google.cloud.gkehub.v1alpha2.Membership resource = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the resource field is set.
-
getResource
Membership getResource()
Required. The membership to create.
.google.cloud.gkehub.v1alpha2.Membership resource = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The resource.
-
getResourceOrBuilder
MembershipOrBuilder getResourceOrBuilder()
Required. The membership to create.
.google.cloud.gkehub.v1alpha2.Membership resource = 3 [(.google.api.field_behavior) = REQUIRED];
-
-