Class ValidateExclusivityResponse.Builder (1.11.0)

public static final class ValidateExclusivityResponse.Builder extends GeneratedMessageV3.Builder<ValidateExclusivityResponse.Builder> implements ValidateExclusivityResponseOrBuilder

The response of exclusivity artifacts validation result status.

Protobuf type google.cloud.gkehub.v1beta1.ValidateExclusivityResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidateExclusivityResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

build()

public ValidateExclusivityResponse build()
Returns
TypeDescription
ValidateExclusivityResponse

buildPartial()

public ValidateExclusivityResponse buildPartial()
Returns
TypeDescription
ValidateExclusivityResponse

clear()

public ValidateExclusivityResponse.Builder clear()
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ValidateExclusivityResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidateExclusivityResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

clearStatus()

public ValidateExclusivityResponse.Builder clearStatus()

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
ValidateExclusivityResponse.Builder

clone()

public ValidateExclusivityResponse.Builder clone()
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

getDefaultInstanceForType()

public ValidateExclusivityResponse getDefaultInstanceForType()
Returns
TypeDescription
ValidateExclusivityResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getStatusBuilder()

public Status.Builder getStatusBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValidateExclusivityResponse other)

public ValidateExclusivityResponse.Builder mergeFrom(ValidateExclusivityResponse other)
Parameter
NameDescription
otherValidateExclusivityResponse
Returns
TypeDescription
ValidateExclusivityResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidateExclusivityResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ValidateExclusivityResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

mergeStatus(Status value)

public ValidateExclusivityResponse.Builder mergeStatus(Status value)

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;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ValidateExclusivityResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidateExclusivityResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ValidateExclusivityResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ValidateExclusivityResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides

setStatus(Status value)

public ValidateExclusivityResponse.Builder setStatus(Status value)

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;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ValidateExclusivityResponse.Builder

setStatus(Status.Builder builderForValue)

public ValidateExclusivityResponse.Builder setStatus(Status.Builder builderForValue)

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;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ValidateExclusivityResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidateExclusivityResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ValidateExclusivityResponse.Builder
Overrides