Class TargetsTypeCondition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TargetsTypeCondition.Builder>
com.google.cloud.deploy.v1.TargetsTypeCondition.Builder
All Implemented Interfaces:
TargetsTypeConditionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TargetsTypeCondition

public static final class TargetsTypeCondition.Builder extends com.google.protobuf.GeneratedMessage.Builder<TargetsTypeCondition.Builder> implements TargetsTypeConditionOrBuilder
 TargetsTypeCondition contains information on whether the Targets defined in
 the Delivery Pipeline are of the same type.
 
Protobuf type google.cloud.deploy.v1.TargetsTypeCondition
  • 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<TargetsTypeCondition.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<TargetsTypeCondition.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<TargetsTypeCondition.Builder>
    • getDefaultInstanceForType

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

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

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

      public TargetsTypeCondition.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<TargetsTypeCondition.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<TargetsTypeCondition.Builder>
    • mergeFrom

      public TargetsTypeCondition.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<TargetsTypeCondition.Builder>
      Throws:
      IOException
    • getStatus

      public boolean getStatus()
       True if the targets are all a comparable type. For example this is true if
       all targets are GKE clusters. This is false if some targets are Cloud Run
       targets and others are GKE clusters.
       
      bool status = 1;
      Specified by:
      getStatus in interface TargetsTypeConditionOrBuilder
      Returns:
      The status.
    • setStatus

      public TargetsTypeCondition.Builder setStatus(boolean value)
       True if the targets are all a comparable type. For example this is true if
       all targets are GKE clusters. This is false if some targets are Cloud Run
       targets and others are GKE clusters.
       
      bool status = 1;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public TargetsTypeCondition.Builder clearStatus()
       True if the targets are all a comparable type. For example this is true if
       all targets are GKE clusters. This is false if some targets are Cloud Run
       targets and others are GKE clusters.
       
      bool status = 1;
      Returns:
      This builder for chaining.
    • getErrorDetails

      public String getErrorDetails()
       Human readable error message.
       
      string error_details = 2;
      Specified by:
      getErrorDetails in interface TargetsTypeConditionOrBuilder
      Returns:
      The errorDetails.
    • getErrorDetailsBytes

      public com.google.protobuf.ByteString getErrorDetailsBytes()
       Human readable error message.
       
      string error_details = 2;
      Specified by:
      getErrorDetailsBytes in interface TargetsTypeConditionOrBuilder
      Returns:
      The bytes for errorDetails.
    • setErrorDetails

      public TargetsTypeCondition.Builder setErrorDetails(String value)
       Human readable error message.
       
      string error_details = 2;
      Parameters:
      value - The errorDetails to set.
      Returns:
      This builder for chaining.
    • clearErrorDetails

      public TargetsTypeCondition.Builder clearErrorDetails()
       Human readable error message.
       
      string error_details = 2;
      Returns:
      This builder for chaining.
    • setErrorDetailsBytes

      public TargetsTypeCondition.Builder setErrorDetailsBytes(com.google.protobuf.ByteString value)
       Human readable error message.
       
      string error_details = 2;
      Parameters:
      value - The bytes for errorDetails to set.
      Returns:
      This builder for chaining.