public final class ValidateExclusivityRequest extends GeneratedMessageV3 implements ValidateExclusivityRequestOrBuilder
The request to validate the existing state of the membership CR in the
cluster.
Protobuf type google.cloud.gkehub.v1beta1.ValidateExclusivityRequest
Static Fields
CR_MANIFEST_FIELD_NUMBER
public static final int CR_MANIFEST_FIELD_NUMBER
Field Value
INTENDED_MEMBERSHIP_FIELD_NUMBER
public static final int INTENDED_MEMBERSHIP_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ValidateExclusivityRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ValidateExclusivityRequest.Builder newBuilder()
Returns
newBuilder(ValidateExclusivityRequest prototype)
public static ValidateExclusivityRequest.Builder newBuilder(ValidateExclusivityRequest prototype)
Parameter
Returns
public static ValidateExclusivityRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValidateExclusivityRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ValidateExclusivityRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ValidateExclusivityRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ValidateExclusivityRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ValidateExclusivityRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValidateExclusivityRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ValidateExclusivityRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ValidateExclusivityRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ValidateExclusivityRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ValidateExclusivityRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ValidateExclusivityRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ValidateExclusivityRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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];
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];
Returns
getParserForType()
public Parser<ValidateExclusivityRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ValidateExclusivityRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ValidateExclusivityRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ValidateExclusivityRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions