public static final class ValidateExclusivityRequest.Builder extends GeneratedMessageV3.Builder<ValidateExclusivityRequest.Builder> implements ValidateExclusivityRequestOrBuilderThe request to validate the existing state of the membership CR in the cluster.
Protobuf type google.cloud.gkehub.v1beta1.ValidateExclusivityRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ValidateExclusivityRequest.BuilderImplements
ValidateExclusivityRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ValidateExclusivityRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ValidateExclusivityRequest.Builder |
build()
public ValidateExclusivityRequest build()| Type | Description |
| ValidateExclusivityRequest |
buildPartial()
public ValidateExclusivityRequest buildPartial()| Type | Description |
| ValidateExclusivityRequest |
clear()
public ValidateExclusivityRequest.Builder clear()| Type | Description |
| ValidateExclusivityRequest.Builder |
clearCrManifest()
public ValidateExclusivityRequest.Builder clearCrManifest()Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ValidateExclusivityRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ValidateExclusivityRequest.Builder |
clearIntendedMembership()
public ValidateExclusivityRequest.Builder clearIntendedMembership() Required. The intended membership name under the parent. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ValidateExclusivityRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ValidateExclusivityRequest.Builder |
clearParent()
public ValidateExclusivityRequest.Builder clearParent() 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) = { ... }
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
clone()
public ValidateExclusivityRequest.Builder clone()| Type | Description |
| ValidateExclusivityRequest.Builder |
getCrManifest()
public String getCrManifest()Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| String | The crManifest. |
getCrManifestBytes()
public ByteString getCrManifestBytes()Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
| Type | Description |
| ByteString | The bytes for crManifest. |
getDefaultInstanceForType()
public ValidateExclusivityRequest getDefaultInstanceForType()| Type | Description |
| ValidateExclusivityRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getIntendedMembership()
public String getIntendedMembership() Required. The intended membership name under the parent. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The intendedMembership. |
getIntendedMembershipBytes()
public ByteString getIntendedMembershipBytes() Required. The intended membership name under the parent. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for intendedMembership. |
getParent()
public 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) = { ... }
| Type | Description |
| String | The parent. |
getParentBytes()
public 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) = { ... }
| Type | Description |
| ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ValidateExclusivityRequest other)
public ValidateExclusivityRequest.Builder mergeFrom(ValidateExclusivityRequest other)| Name | Description |
| other | ValidateExclusivityRequest |
| Type | Description |
| ValidateExclusivityRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ValidateExclusivityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ValidateExclusivityRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ValidateExclusivityRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ValidateExclusivityRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ValidateExclusivityRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ValidateExclusivityRequest.Builder |
setCrManifest(String value)
public ValidateExclusivityRequest.Builder setCrManifest(String value)Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | StringThe crManifest to set. |
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
setCrManifestBytes(ByteString value)
public ValidateExclusivityRequest.Builder setCrManifestBytes(ByteString value)Optional. The YAML of the membership CR in the cluster. Empty if the membership CR does not exist.
string cr_manifest = 2 [(.google.api.field_behavior) = OPTIONAL];
| Name | Description |
| value | ByteStringThe bytes for crManifest to set. |
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ValidateExclusivityRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ValidateExclusivityRequest.Builder |
setIntendedMembership(String value)
public ValidateExclusivityRequest.Builder setIntendedMembership(String value) Required. The intended membership name under the parent. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe intendedMembership to set. |
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
setIntendedMembershipBytes(ByteString value)
public ValidateExclusivityRequest.Builder setIntendedMembershipBytes(ByteString value) Required. The intended membership name under the parent. This method only does
validation in anticipation of a CreateMembership call with the same name.
string intended_membership = 3 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for intendedMembership to set. |
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
setParent(String value)
public ValidateExclusivityRequest.Builder setParent(String value) 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) = { ... }
| Name | Description |
| value | StringThe parent to set. |
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ValidateExclusivityRequest.Builder setParentBytes(ByteString value) 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) = { ... }
| Name | Description |
| value | ByteStringThe bytes for parent to set. |
| Type | Description |
| ValidateExclusivityRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ValidateExclusivityRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ValidateExclusivityRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ValidateExclusivityRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ValidateExclusivityRequest.Builder |