Class TimedPromoteReleaseOperation.Builder

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

public static final class TimedPromoteReleaseOperation.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimedPromoteReleaseOperation.Builder> implements TimedPromoteReleaseOperationOrBuilder
 Contains the information of an automated timed promote-release operation.
 
Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseOperation
  • 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<TimedPromoteReleaseOperation.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<TimedPromoteReleaseOperation.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<TimedPromoteReleaseOperation.Builder>
    • getDefaultInstanceForType

      public TimedPromoteReleaseOperation 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 TimedPromoteReleaseOperation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public TimedPromoteReleaseOperation.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<TimedPromoteReleaseOperation.Builder>
      Throws:
      IOException
    • getTargetId

      public String getTargetId()
       Output only. The ID of the target that represents the promotion stage to
       which the release will be promoted. The value of this field is the last
       segment of a target name.
       
      string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetId in interface TimedPromoteReleaseOperationOrBuilder
      Returns:
      The targetId.
    • getTargetIdBytes

      public com.google.protobuf.ByteString getTargetIdBytes()
       Output only. The ID of the target that represents the promotion stage to
       which the release will be promoted. The value of this field is the last
       segment of a target name.
       
      string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetIdBytes in interface TimedPromoteReleaseOperationOrBuilder
      Returns:
      The bytes for targetId.
    • setTargetId

      public TimedPromoteReleaseOperation.Builder setTargetId(String value)
       Output only. The ID of the target that represents the promotion stage to
       which the release will be promoted. The value of this field is the last
       segment of a target name.
       
      string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The targetId to set.
      Returns:
      This builder for chaining.
    • clearTargetId

      public TimedPromoteReleaseOperation.Builder clearTargetId()
       Output only. The ID of the target that represents the promotion stage to
       which the release will be promoted. The value of this field is the last
       segment of a target name.
       
      string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setTargetIdBytes

      public TimedPromoteReleaseOperation.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
       Output only. The ID of the target that represents the promotion stage to
       which the release will be promoted. The value of this field is the last
       segment of a target name.
       
      string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for targetId to set.
      Returns:
      This builder for chaining.
    • getRelease

      public String getRelease()
       Output only. The name of the release to be promoted.
       
      string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRelease in interface TimedPromoteReleaseOperationOrBuilder
      Returns:
      The release.
    • getReleaseBytes

      public com.google.protobuf.ByteString getReleaseBytes()
       Output only. The name of the release to be promoted.
       
      string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReleaseBytes in interface TimedPromoteReleaseOperationOrBuilder
      Returns:
      The bytes for release.
    • setRelease

      public TimedPromoteReleaseOperation.Builder setRelease(String value)
       Output only. The name of the release to be promoted.
       
      string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The release to set.
      Returns:
      This builder for chaining.
    • clearRelease

      public TimedPromoteReleaseOperation.Builder clearRelease()
       Output only. The name of the release to be promoted.
       
      string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setReleaseBytes

      public TimedPromoteReleaseOperation.Builder setReleaseBytes(com.google.protobuf.ByteString value)
       Output only. The name of the release to be promoted.
       
      string release = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for release to set.
      Returns:
      This builder for chaining.
    • getPhase

      public String getPhase()
       Output only. The starting phase of the rollout created by this operation.
       
      string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhase in interface TimedPromoteReleaseOperationOrBuilder
      Returns:
      The phase.
    • getPhaseBytes

      public com.google.protobuf.ByteString getPhaseBytes()
       Output only. The starting phase of the rollout created by this operation.
       
      string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPhaseBytes in interface TimedPromoteReleaseOperationOrBuilder
      Returns:
      The bytes for phase.
    • setPhase

       Output only. The starting phase of the rollout created by this operation.
       
      string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The phase to set.
      Returns:
      This builder for chaining.
    • clearPhase

       Output only. The starting phase of the rollout created by this operation.
       
      string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setPhaseBytes

      public TimedPromoteReleaseOperation.Builder setPhaseBytes(com.google.protobuf.ByteString value)
       Output only. The starting phase of the rollout created by this operation.
       
      string phase = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for phase to set.
      Returns:
      This builder for chaining.