Class ValidateExclusivityResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ValidateExclusivityResponse.Builder>
com.google.cloud.gkehub.v1beta1.ValidateExclusivityResponse.Builder
All Implemented Interfaces:
ValidateExclusivityResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ValidateExclusivityResponse

public static final class ValidateExclusivityResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ValidateExclusivityResponse.Builder> implements ValidateExclusivityResponseOrBuilder
 The response of exclusivity artifacts validation result status.
 
Protobuf type google.cloud.gkehub.v1beta1.ValidateExclusivityResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ValidateExclusivityResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ValidateExclusivityResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ValidateExclusivityResponse.Builder>
    • getDefaultInstanceForType

      public ValidateExclusivityResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ValidateExclusivityResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ValidateExclusivityResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValidateExclusivityResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ValidateExclusivityResponse.Builder>
    • mergeFrom

      public ValidateExclusivityResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValidateExclusivityResponse.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasStatus in interface ValidateExclusivityResponseOrBuilder
      Returns:
      Whether the status field is set.
    • 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;
      Specified by:
      getStatus in interface ValidateExclusivityResponseOrBuilder
      Returns:
      The status.
    • setStatus

      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;
    • setStatus

      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;
    • mergeStatus

      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;
    • 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;
    • 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;
    • 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;
      Specified by:
      getStatusOrBuilder in interface ValidateExclusivityResponseOrBuilder