Class RolloutInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RolloutInfo.Builder>
com.google.cloud.configdelivery.v1beta.RolloutInfo.Builder
All Implemented Interfaces:
RolloutInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RolloutInfo

public static final class RolloutInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<RolloutInfo.Builder> implements RolloutInfoOrBuilder
 RolloutInfo represents the state of the `FleetPackage` at all the
 clusters the rollout is targeting.
 
Protobuf type google.cloud.configdelivery.v1beta.RolloutInfo
  • 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<RolloutInfo.Builder>
    • clear

      public RolloutInfo.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<RolloutInfo.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<RolloutInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public RolloutInfo.Builder mergeFrom(RolloutInfo other)
    • isInitialized

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

      public RolloutInfo.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<RolloutInfo.Builder>
      Throws:
      IOException
    • getStateValue

      public int getStateValue()
       Output only. state contains the overall status of the Rollout.
       
      .google.cloud.configdelivery.v1beta.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface RolloutInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public RolloutInfo.Builder setStateValue(int value)
       Output only. state contains the overall status of the Rollout.
       
      .google.cloud.configdelivery.v1beta.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public RolloutInfo.State getState()
       Output only. state contains the overall status of the Rollout.
       
      .google.cloud.configdelivery.v1beta.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface RolloutInfoOrBuilder
      Returns:
      The state.
    • setState

      public RolloutInfo.Builder setState(RolloutInfo.State value)
       Output only. state contains the overall status of the Rollout.
       
      .google.cloud.configdelivery.v1beta.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public RolloutInfo.Builder clearState()
       Output only. state contains the overall status of the Rollout.
       
      .google.cloud.configdelivery.v1beta.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface RolloutInfoOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface RolloutInfoOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public RolloutInfo.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public RolloutInfo.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public RolloutInfo.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

      public RolloutInfo.Builder clearStartTime()
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. Time when the rollout started.
       
      .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface RolloutInfoOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface RolloutInfoOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface RolloutInfoOrBuilder
      Returns:
      The endTime.
    • setEndTime

      public RolloutInfo.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public RolloutInfo.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public RolloutInfo.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

      public RolloutInfo.Builder clearEndTime()
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. Time when the rollout completed.
       
      .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface RolloutInfoOrBuilder
    • getMessage

      public String getMessage()
       Output only. Message containing additional information related to the
       rollout.
       
      string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessage in interface RolloutInfoOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Output only. Message containing additional information related to the
       rollout.
       
      string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMessageBytes in interface RolloutInfoOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public RolloutInfo.Builder setMessage(String value)
       Output only. Message containing additional information related to the
       rollout.
       
      string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public RolloutInfo.Builder clearMessage()
       Output only. Message containing additional information related to the
       rollout.
       
      string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setMessageBytes

      public RolloutInfo.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Output only. Message containing additional information related to the
       rollout.
       
      string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • hasRolloutStrategyInfo

      public boolean hasRolloutStrategyInfo()
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRolloutStrategyInfo in interface RolloutInfoOrBuilder
      Returns:
      Whether the rolloutStrategyInfo field is set.
    • getRolloutStrategyInfo

      public RolloutStrategyInfo getRolloutStrategyInfo()
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRolloutStrategyInfo in interface RolloutInfoOrBuilder
      Returns:
      The rolloutStrategyInfo.
    • setRolloutStrategyInfo

      public RolloutInfo.Builder setRolloutStrategyInfo(RolloutStrategyInfo value)
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRolloutStrategyInfo

      public RolloutInfo.Builder setRolloutStrategyInfo(RolloutStrategyInfo.Builder builderForValue)
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeRolloutStrategyInfo

      public RolloutInfo.Builder mergeRolloutStrategyInfo(RolloutStrategyInfo value)
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRolloutStrategyInfo

      public RolloutInfo.Builder clearRolloutStrategyInfo()
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRolloutStrategyInfoBuilder

      public RolloutStrategyInfo.Builder getRolloutStrategyInfoBuilder()
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRolloutStrategyInfoOrBuilder

      public RolloutStrategyInfoOrBuilder getRolloutStrategyInfoOrBuilder()
       Output only. Rollout strategy info represents the status of execution of
       rollout strategy.
       
      .google.cloud.configdelivery.v1beta.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRolloutStrategyInfoOrBuilder in interface RolloutInfoOrBuilder