Class DailyMaintenanceWindow.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DailyMaintenanceWindow.Builder>
com.google.container.v1.DailyMaintenanceWindow.Builder
All Implemented Interfaces:
DailyMaintenanceWindowOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DailyMaintenanceWindow

public static final class DailyMaintenanceWindow.Builder extends com.google.protobuf.GeneratedMessage.Builder<DailyMaintenanceWindow.Builder> implements DailyMaintenanceWindowOrBuilder
 Time window specified for daily maintenance operations.
 
Protobuf type google.container.v1.DailyMaintenanceWindow
  • 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<DailyMaintenanceWindow.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<DailyMaintenanceWindow.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<DailyMaintenanceWindow.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DailyMaintenanceWindow.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<DailyMaintenanceWindow.Builder>
      Throws:
      IOException
    • getStartTime

      public String getStartTime()
       Time within the maintenance window to start the maintenance operations.
       Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
       
      string start_time = 2;
      Specified by:
      getStartTime in interface DailyMaintenanceWindowOrBuilder
      Returns:
      The startTime.
    • getStartTimeBytes

      public com.google.protobuf.ByteString getStartTimeBytes()
       Time within the maintenance window to start the maintenance operations.
       Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
       
      string start_time = 2;
      Specified by:
      getStartTimeBytes in interface DailyMaintenanceWindowOrBuilder
      Returns:
      The bytes for startTime.
    • setStartTime

      public DailyMaintenanceWindow.Builder setStartTime(String value)
       Time within the maintenance window to start the maintenance operations.
       Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
       
      string start_time = 2;
      Parameters:
      value - The startTime to set.
      Returns:
      This builder for chaining.
    • clearStartTime

      public DailyMaintenanceWindow.Builder clearStartTime()
       Time within the maintenance window to start the maintenance operations.
       Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
       
      string start_time = 2;
      Returns:
      This builder for chaining.
    • setStartTimeBytes

      public DailyMaintenanceWindow.Builder setStartTimeBytes(com.google.protobuf.ByteString value)
       Time within the maintenance window to start the maintenance operations.
       Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
       
      string start_time = 2;
      Parameters:
      value - The bytes for startTime to set.
      Returns:
      This builder for chaining.
    • getDuration

      public String getDuration()
       Output only. Duration of the time window, automatically chosen to be
       smallest possible in the given scenario.
       Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "PTnHnMnS".
       
      string duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDuration in interface DailyMaintenanceWindowOrBuilder
      Returns:
      The duration.
    • getDurationBytes

      public com.google.protobuf.ByteString getDurationBytes()
       Output only. Duration of the time window, automatically chosen to be
       smallest possible in the given scenario.
       Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "PTnHnMnS".
       
      string duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDurationBytes in interface DailyMaintenanceWindowOrBuilder
      Returns:
      The bytes for duration.
    • setDuration

      public DailyMaintenanceWindow.Builder setDuration(String value)
       Output only. Duration of the time window, automatically chosen to be
       smallest possible in the given scenario.
       Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "PTnHnMnS".
       
      string duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The duration to set.
      Returns:
      This builder for chaining.
    • clearDuration

      public DailyMaintenanceWindow.Builder clearDuration()
       Output only. Duration of the time window, automatically chosen to be
       smallest possible in the given scenario.
       Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "PTnHnMnS".
       
      string duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDurationBytes

      public DailyMaintenanceWindow.Builder setDurationBytes(com.google.protobuf.ByteString value)
       Output only. Duration of the time window, automatically chosen to be
       smallest possible in the given scenario.
       Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
       format "PTnHnMnS".
       
      string duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for duration to set.
      Returns:
      This builder for chaining.