Class ScalingScheduleStatus.Builder

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

public static final class ScalingScheduleStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<ScalingScheduleStatus.Builder> implements ScalingScheduleStatusOrBuilder
 
Protobuf type google.cloud.compute.v1.ScalingScheduleStatus
  • 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<ScalingScheduleStatus.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<ScalingScheduleStatus.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<ScalingScheduleStatus.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ScalingScheduleStatus.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<ScalingScheduleStatus.Builder>
      Throws:
      IOException
    • hasLastStartTime

      public boolean hasLastStartTime()
       [Output Only] The last time the scaling schedule became active.
       Note: this is a timestamp when a schedule actually became active, not when
       it was planned to do so.
       The timestamp is in RFC3339
       text format.
       
      optional string last_start_time = 34545107;
      Specified by:
      hasLastStartTime in interface ScalingScheduleStatusOrBuilder
      Returns:
      Whether the lastStartTime field is set.
    • getLastStartTime

      public String getLastStartTime()
       [Output Only] The last time the scaling schedule became active.
       Note: this is a timestamp when a schedule actually became active, not when
       it was planned to do so.
       The timestamp is in RFC3339
       text format.
       
      optional string last_start_time = 34545107;
      Specified by:
      getLastStartTime in interface ScalingScheduleStatusOrBuilder
      Returns:
      The lastStartTime.
    • getLastStartTimeBytes

      public com.google.protobuf.ByteString getLastStartTimeBytes()
       [Output Only] The last time the scaling schedule became active.
       Note: this is a timestamp when a schedule actually became active, not when
       it was planned to do so.
       The timestamp is in RFC3339
       text format.
       
      optional string last_start_time = 34545107;
      Specified by:
      getLastStartTimeBytes in interface ScalingScheduleStatusOrBuilder
      Returns:
      The bytes for lastStartTime.
    • setLastStartTime

      public ScalingScheduleStatus.Builder setLastStartTime(String value)
       [Output Only] The last time the scaling schedule became active.
       Note: this is a timestamp when a schedule actually became active, not when
       it was planned to do so.
       The timestamp is in RFC3339
       text format.
       
      optional string last_start_time = 34545107;
      Parameters:
      value - The lastStartTime to set.
      Returns:
      This builder for chaining.
    • clearLastStartTime

      public ScalingScheduleStatus.Builder clearLastStartTime()
       [Output Only] The last time the scaling schedule became active.
       Note: this is a timestamp when a schedule actually became active, not when
       it was planned to do so.
       The timestamp is in RFC3339
       text format.
       
      optional string last_start_time = 34545107;
      Returns:
      This builder for chaining.
    • setLastStartTimeBytes

      public ScalingScheduleStatus.Builder setLastStartTimeBytes(com.google.protobuf.ByteString value)
       [Output Only] The last time the scaling schedule became active.
       Note: this is a timestamp when a schedule actually became active, not when
       it was planned to do so.
       The timestamp is in RFC3339
       text format.
       
      optional string last_start_time = 34545107;
      Parameters:
      value - The bytes for lastStartTime to set.
      Returns:
      This builder for chaining.
    • hasNextStartTime

      public boolean hasNextStartTime()
       [Output Only] The next time the scaling schedule is to become active.
       Note: this is a timestamp when a schedule is planned to run, but the actual
       time might be slightly different.
       The timestamp is in RFC3339
       text format.
       
      optional string next_start_time = 97270102;
      Specified by:
      hasNextStartTime in interface ScalingScheduleStatusOrBuilder
      Returns:
      Whether the nextStartTime field is set.
    • getNextStartTime

      public String getNextStartTime()
       [Output Only] The next time the scaling schedule is to become active.
       Note: this is a timestamp when a schedule is planned to run, but the actual
       time might be slightly different.
       The timestamp is in RFC3339
       text format.
       
      optional string next_start_time = 97270102;
      Specified by:
      getNextStartTime in interface ScalingScheduleStatusOrBuilder
      Returns:
      The nextStartTime.
    • getNextStartTimeBytes

      public com.google.protobuf.ByteString getNextStartTimeBytes()
       [Output Only] The next time the scaling schedule is to become active.
       Note: this is a timestamp when a schedule is planned to run, but the actual
       time might be slightly different.
       The timestamp is in RFC3339
       text format.
       
      optional string next_start_time = 97270102;
      Specified by:
      getNextStartTimeBytes in interface ScalingScheduleStatusOrBuilder
      Returns:
      The bytes for nextStartTime.
    • setNextStartTime

      public ScalingScheduleStatus.Builder setNextStartTime(String value)
       [Output Only] The next time the scaling schedule is to become active.
       Note: this is a timestamp when a schedule is planned to run, but the actual
       time might be slightly different.
       The timestamp is in RFC3339
       text format.
       
      optional string next_start_time = 97270102;
      Parameters:
      value - The nextStartTime to set.
      Returns:
      This builder for chaining.
    • clearNextStartTime

      public ScalingScheduleStatus.Builder clearNextStartTime()
       [Output Only] The next time the scaling schedule is to become active.
       Note: this is a timestamp when a schedule is planned to run, but the actual
       time might be slightly different.
       The timestamp is in RFC3339
       text format.
       
      optional string next_start_time = 97270102;
      Returns:
      This builder for chaining.
    • setNextStartTimeBytes

      public ScalingScheduleStatus.Builder setNextStartTimeBytes(com.google.protobuf.ByteString value)
       [Output Only] The next time the scaling schedule is to become active.
       Note: this is a timestamp when a schedule is planned to run, but the actual
       time might be slightly different.
       The timestamp is in RFC3339
       text format.
       
      optional string next_start_time = 97270102;
      Parameters:
      value - The bytes for nextStartTime to set.
      Returns:
      This builder for chaining.
    • hasState

      public boolean hasState()
       [Output Only] The current state of a scaling schedule.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      hasState in interface ScalingScheduleStatusOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
       [Output Only] The current state of a scaling schedule.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getState in interface ScalingScheduleStatusOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
       [Output Only] The current state of a scaling schedule.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Specified by:
      getStateBytes in interface ScalingScheduleStatusOrBuilder
      Returns:
      The bytes for state.
    • setState

      public ScalingScheduleStatus.Builder setState(String value)
       [Output Only] The current state of a scaling schedule.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public ScalingScheduleStatus.Builder clearState()
       [Output Only] The current state of a scaling schedule.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      This builder for chaining.
    • setStateBytes

      public ScalingScheduleStatus.Builder setStateBytes(com.google.protobuf.ByteString value)
       [Output Only] The current state of a scaling schedule.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Parameters:
      value - The bytes for state to set.
      Returns:
      This builder for chaining.