Class NodeGroupMaintenanceWindow.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupMaintenanceWindow.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.GeneratedMessageV3.Builder<NodeGroupMaintenanceWindow.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public NodeGroupMaintenanceWindow.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<NodeGroupMaintenanceWindow.Builder>
        Throws:
        IOException
      • hasMaintenanceDuration

        public boolean hasMaintenanceDuration()
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
        Specified by:
        hasMaintenanceDuration in interface NodeGroupMaintenanceWindowOrBuilder
        Returns:
        Whether the maintenanceDuration field is set.
      • getMaintenanceDuration

        public Duration getMaintenanceDuration()
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
        Specified by:
        getMaintenanceDuration in interface NodeGroupMaintenanceWindowOrBuilder
        Returns:
        The maintenanceDuration.
      • setMaintenanceDuration

        public NodeGroupMaintenanceWindow.Builder setMaintenanceDuration​(Duration value)
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
      • setMaintenanceDuration

        public NodeGroupMaintenanceWindow.Builder setMaintenanceDuration​(Duration.Builder builderForValue)
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
      • mergeMaintenanceDuration

        public NodeGroupMaintenanceWindow.Builder mergeMaintenanceDuration​(Duration value)
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
      • clearMaintenanceDuration

        public NodeGroupMaintenanceWindow.Builder clearMaintenanceDuration()
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
      • getMaintenanceDurationBuilder

        public Duration.Builder getMaintenanceDurationBuilder()
         [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
         
        optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
      • hasStartTime

        public boolean hasStartTime()
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Specified by:
        hasStartTime in interface NodeGroupMaintenanceWindowOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public String getStartTime()
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Specified by:
        getStartTime in interface NodeGroupMaintenanceWindowOrBuilder
        Returns:
        The startTime.
      • getStartTimeBytes

        public com.google.protobuf.ByteString getStartTimeBytes()
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Specified by:
        getStartTimeBytes in interface NodeGroupMaintenanceWindowOrBuilder
        Returns:
        The bytes for startTime.
      • setStartTime

        public NodeGroupMaintenanceWindow.Builder setStartTime​(String value)
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Parameters:
        value - The startTime to set.
        Returns:
        This builder for chaining.
      • clearStartTime

        public NodeGroupMaintenanceWindow.Builder clearStartTime()
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Returns:
        This builder for chaining.
      • setStartTimeBytes

        public NodeGroupMaintenanceWindow.Builder setStartTimeBytes​(com.google.protobuf.ByteString value)
         Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
         
        optional string start_time = 37467274;
        Parameters:
        value - The bytes for startTime to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final NodeGroupMaintenanceWindow.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupMaintenanceWindow.Builder>
      • mergeUnknownFields

        public final NodeGroupMaintenanceWindow.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupMaintenanceWindow.Builder>