public static final class ValidateExclusivityRequest.Builder extends GeneratedMessage.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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ValidateExclusivityRequest.BuilderImplements
ValidateExclusivityRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ValidateExclusivityRequest build()| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest |
|
buildPartial()
public ValidateExclusivityRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest |
|
clear()
public ValidateExclusivityRequest.Builder clear()| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest.Builder |
This builder for chaining. |
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for crManifest. |
getDefaultInstanceForType()
public ValidateExclusivityRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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];
| Returns | |
|---|---|
| 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) = { ... }
| Returns | |
|---|---|
| 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ValidateExclusivityRequest other)
public ValidateExclusivityRequest.Builder mergeFrom(ValidateExclusivityRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ValidateExclusivityRequest |
| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ValidateExclusivityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ValidateExclusivityRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe crManifest to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for crManifest to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe intendedMembership to set. |
| Returns | |
|---|---|
| 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for intendedMembership to set. |
| Returns | |
|---|---|
| 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateExclusivityRequest.Builder |
This builder for chaining. |