Class ValidateExclusivityResponse (1.24.0)

public final class ValidateExclusivityResponse extends GeneratedMessageV3 implements ValidateExclusivityResponseOrBuilder

The response of exclusivity artifacts validation result status.

Protobuf type google.cloud.gkehub.v1beta1.ValidateExclusivityResponse

Static Fields

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValidateExclusivityResponse getDefaultInstance()
Returns
TypeDescription
ValidateExclusivityResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ValidateExclusivityResponse.Builder newBuilder()
Returns
TypeDescription
ValidateExclusivityResponse.Builder

newBuilder(ValidateExclusivityResponse prototype)

public static ValidateExclusivityResponse.Builder newBuilder(ValidateExclusivityResponse prototype)
Parameter
NameDescription
prototypeValidateExclusivityResponse
Returns
TypeDescription
ValidateExclusivityResponse.Builder

parseDelimitedFrom(InputStream input)

public static ValidateExclusivityResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateExclusivityResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ValidateExclusivityResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidateExclusivityResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidateExclusivityResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidateExclusivityResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidateExclusivityResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateExclusivityResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ValidateExclusivityResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateExclusivityResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ValidateExclusivityResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidateExclusivityResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateExclusivityResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ValidateExclusivityResponse> parser()
Returns
TypeDescription
Parser<ValidateExclusivityResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ValidateExclusivityResponse getDefaultInstanceForType()
Returns
TypeDescription
ValidateExclusivityResponse

getParserForType()

public Parser<ValidateExclusivityResponse> getParserForType()
Returns
TypeDescription
Parser<ValidateExclusivityResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public Status getStatus()

The validation result.

  • OK means that exclusivity is validated, assuming the manifest produced by GenerateExclusivityManifest is successfully applied.
  • ALREADY_EXISTS means that the Membership CRD is already owned by another Hub. See status.message for more information.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The validation result.

  • OK means that exclusivity is validated, assuming the manifest produced by GenerateExclusivityManifest is successfully applied.
  • ALREADY_EXISTS means that the Membership CRD is already owned by another Hub. See status.message for more information.

.google.rpc.Status status = 1;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The validation result.

  • OK means that exclusivity is validated, assuming the manifest produced by GenerateExclusivityManifest is successfully applied.
  • ALREADY_EXISTS means that the Membership CRD is already owned by another Hub. See status.message for more information.

.google.rpc.Status status = 1;

Returns
TypeDescription
boolean

Whether the status field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ValidateExclusivityResponse.Builder newBuilderForType()
Returns
TypeDescription
ValidateExclusivityResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidateExclusivityResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ValidateExclusivityResponse.Builder toBuilder()
Returns
TypeDescription
ValidateExclusivityResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException