Class ResourceMaintenance.Builder

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

public static final class ResourceMaintenance.Builder extends com.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder> implements ResourceMaintenanceOrBuilder
 ResourceMaintenance is a resource that represents a maintenance operation
 on a resource.
 
Protobuf type google.cloud.maintenance.api.v1.ResourceMaintenance
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ResourceMaintenance.Builder>
    • internalGetFieldAccessorTable

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

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

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

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

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

      public ResourceMaintenance.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<ResourceMaintenance.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the resource_maintenance resource.
       Format:
       `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ResourceMaintenanceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the resource_maintenance resource.
       Format:
       `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ResourceMaintenanceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ResourceMaintenance.Builder setName(String value)
       Identifier. The name of the resource_maintenance resource.
       Format:
       `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ResourceMaintenance.Builder clearName()
       Identifier. The name of the resource_maintenance resource.
       Format:
       `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ResourceMaintenance.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the resource_maintenance resource.
       Format:
       `"projects/{project}/locations/{location}/resourceMaintenance/{resource-maintenance-id}"`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasResource

      public boolean hasResource()
       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasResource in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the resource field is set.
    • getResource

      public ResourceMaintenance.Resource getResource()
       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResource in interface ResourceMaintenanceOrBuilder
      Returns:
      The resource.
    • setResource

       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setResource

       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeResource

       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearResource

      public ResourceMaintenance.Builder clearResource()
       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceBuilder

      public ResourceMaintenance.Resource.Builder getResourceBuilder()
       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceOrBuilder

      public ResourceMaintenance.ResourceOrBuilder getResourceOrBuilder()
       Output only. The resource spec of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Resource resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceOrBuilder in interface ResourceMaintenanceOrBuilder
    • hasMaintenance

      public boolean hasMaintenance()
       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenance in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the maintenance field is set.
    • getMaintenance

      public ResourceMaintenance.Maintenance getMaintenance()
       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenance in interface ResourceMaintenanceOrBuilder
      Returns:
      The maintenance.
    • setMaintenance

       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenance

       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenance

       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenance

      public ResourceMaintenance.Builder clearMaintenance()
       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceBuilder

      public ResourceMaintenance.Maintenance.Builder getMaintenanceBuilder()
       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceOrBuilder

      public ResourceMaintenance.MaintenanceOrBuilder getMaintenanceOrBuilder()
       Output only. The details of the maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.Maintenance maintenance = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceOrBuilder in interface ResourceMaintenanceOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. The state of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ResourceMaintenanceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public ResourceMaintenance.Builder setStateValue(int value)
       Output only. The state of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.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 ResourceMaintenance.State getState()
       Output only. The state of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ResourceMaintenanceOrBuilder
      Returns:
      The state.
    • setState

       Output only. The state of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public ResourceMaintenance.Builder clearState()
       Output only. The state of the resource maintenance.
       
      .google.cloud.maintenance.api.v1.ResourceMaintenance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ResourceMaintenanceOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ResourceMaintenance.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ResourceMaintenance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ResourceMaintenance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ResourceMaintenance.Builder clearCreateTime()
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The create time of the resource maintenance.
       
      .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ResourceMaintenanceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ResourceMaintenanceOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ResourceMaintenance.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ResourceMaintenance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ResourceMaintenance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ResourceMaintenance.Builder clearUpdateTime()
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The update time of the resource maintenance.
       
      .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ResourceMaintenanceOrBuilder
    • hasMaintenanceStartTime

      public boolean hasMaintenanceStartTime()
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenanceStartTime in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the maintenanceStartTime field is set.
    • getMaintenanceStartTime

      public com.google.protobuf.Timestamp getMaintenanceStartTime()
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceStartTime in interface ResourceMaintenanceOrBuilder
      Returns:
      The maintenanceStartTime.
    • setMaintenanceStartTime

      public ResourceMaintenance.Builder setMaintenanceStartTime(com.google.protobuf.Timestamp value)
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceStartTime

      public ResourceMaintenance.Builder setMaintenanceStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenanceStartTime

      public ResourceMaintenance.Builder mergeMaintenanceStartTime(com.google.protobuf.Timestamp value)
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceStartTime

      public ResourceMaintenance.Builder clearMaintenanceStartTime()
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getMaintenanceStartTimeBuilder()
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMaintenanceStartTimeOrBuilder()
       Output only. The time when the resource maintenance has started.
       
      .google.protobuf.Timestamp maintenance_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceStartTimeOrBuilder in interface ResourceMaintenanceOrBuilder
    • hasMaintenanceEndTime

      public boolean hasMaintenanceEndTime()
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenanceEndTime in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the maintenanceEndTime field is set.
    • getMaintenanceEndTime

      public com.google.protobuf.Timestamp getMaintenanceEndTime()
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceEndTime in interface ResourceMaintenanceOrBuilder
      Returns:
      The maintenanceEndTime.
    • setMaintenanceEndTime

      public ResourceMaintenance.Builder setMaintenanceEndTime(com.google.protobuf.Timestamp value)
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceEndTime

      public ResourceMaintenance.Builder setMaintenanceEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenanceEndTime

      public ResourceMaintenance.Builder mergeMaintenanceEndTime(com.google.protobuf.Timestamp value)
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceEndTime

      public ResourceMaintenance.Builder clearMaintenanceEndTime()
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getMaintenanceEndTimeBuilder()
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMaintenanceEndTimeOrBuilder()
       Output only. The time when the resource maintenance has completed.
       
      .google.protobuf.Timestamp maintenance_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceEndTimeOrBuilder in interface ResourceMaintenanceOrBuilder
    • hasMaintenanceCancelTime

      public boolean hasMaintenanceCancelTime()
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenanceCancelTime in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the maintenanceCancelTime field is set.
    • getMaintenanceCancelTime

      public com.google.protobuf.Timestamp getMaintenanceCancelTime()
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceCancelTime in interface ResourceMaintenanceOrBuilder
      Returns:
      The maintenanceCancelTime.
    • setMaintenanceCancelTime

      public ResourceMaintenance.Builder setMaintenanceCancelTime(com.google.protobuf.Timestamp value)
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceCancelTime

      public ResourceMaintenance.Builder setMaintenanceCancelTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenanceCancelTime

      public ResourceMaintenance.Builder mergeMaintenanceCancelTime(com.google.protobuf.Timestamp value)
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceCancelTime

      public ResourceMaintenance.Builder clearMaintenanceCancelTime()
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceCancelTimeBuilder

      public com.google.protobuf.Timestamp.Builder getMaintenanceCancelTimeBuilder()
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceCancelTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMaintenanceCancelTimeOrBuilder()
       Output only. The time when the resource maintenance was cancelled.
       
      .google.protobuf.Timestamp maintenance_cancel_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceCancelTimeOrBuilder in interface ResourceMaintenanceOrBuilder
    • hasMaintenanceScheduledStartTime

      public boolean hasMaintenanceScheduledStartTime()
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenanceScheduledStartTime in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the maintenanceScheduledStartTime field is set.
    • getMaintenanceScheduledStartTime

      public com.google.protobuf.Timestamp getMaintenanceScheduledStartTime()
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceScheduledStartTime in interface ResourceMaintenanceOrBuilder
      Returns:
      The maintenanceScheduledStartTime.
    • setMaintenanceScheduledStartTime

      public ResourceMaintenance.Builder setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value)
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceScheduledStartTime

      public ResourceMaintenance.Builder setMaintenanceScheduledStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenanceScheduledStartTime

      public ResourceMaintenance.Builder mergeMaintenanceScheduledStartTime(com.google.protobuf.Timestamp value)
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceScheduledStartTime

      public ResourceMaintenance.Builder clearMaintenanceScheduledStartTime()
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduledStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getMaintenanceScheduledStartTimeBuilder()
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduledStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMaintenanceScheduledStartTimeOrBuilder()
       Output only. The time when the maintenance on the resource was scheduled to
       start.
       
      .google.protobuf.Timestamp maintenance_scheduled_start_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceScheduledStartTimeOrBuilder in interface ResourceMaintenanceOrBuilder
    • hasMaintenanceScheduledEndTime

      public boolean hasMaintenanceScheduledEndTime()
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMaintenanceScheduledEndTime in interface ResourceMaintenanceOrBuilder
      Returns:
      Whether the maintenanceScheduledEndTime field is set.
    • getMaintenanceScheduledEndTime

      public com.google.protobuf.Timestamp getMaintenanceScheduledEndTime()
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceScheduledEndTime in interface ResourceMaintenanceOrBuilder
      Returns:
      The maintenanceScheduledEndTime.
    • setMaintenanceScheduledEndTime

      public ResourceMaintenance.Builder setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value)
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMaintenanceScheduledEndTime

      public ResourceMaintenance.Builder setMaintenanceScheduledEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMaintenanceScheduledEndTime

      public ResourceMaintenance.Builder mergeMaintenanceScheduledEndTime(com.google.protobuf.Timestamp value)
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMaintenanceScheduledEndTime

      public ResourceMaintenance.Builder clearMaintenanceScheduledEndTime()
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduledEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getMaintenanceScheduledEndTimeBuilder()
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMaintenanceScheduledEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getMaintenanceScheduledEndTimeOrBuilder()
       Output only. The time when the maintenance on the resource was scheduled to
       end.
       
      .google.protobuf.Timestamp maintenance_scheduled_end_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaintenanceScheduledEndTimeOrBuilder in interface ResourceMaintenanceOrBuilder
    • getUserControllable

      public boolean getUserControllable()
       Output only. Indicates whether the user has some control over that
       maintenance, either proactively before maintenance was scheduled with
       maintenance policy or with reactive controls after it was scheduled (see
       controls field)
       
      bool user_controllable = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUserControllable in interface ResourceMaintenanceOrBuilder
      Returns:
      The userControllable.
    • setUserControllable

      public ResourceMaintenance.Builder setUserControllable(boolean value)
       Output only. Indicates whether the user has some control over that
       maintenance, either proactively before maintenance was scheduled with
       maintenance policy or with reactive controls after it was scheduled (see
       controls field)
       
      bool user_controllable = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The userControllable to set.
      Returns:
      This builder for chaining.
    • clearUserControllable

      public ResourceMaintenance.Builder clearUserControllable()
       Output only. Indicates whether the user has some control over that
       maintenance, either proactively before maintenance was scheduled with
       maintenance policy or with reactive controls after it was scheduled (see
       controls field)
       
      bool user_controllable = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getControlsList

      public List<MaintenanceControl> getControlsList()
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsList in interface ResourceMaintenanceOrBuilder
    • getControlsCount

      public int getControlsCount()
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsCount in interface ResourceMaintenanceOrBuilder
    • getControls

      public MaintenanceControl getControls(int index)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControls in interface ResourceMaintenanceOrBuilder
    • setControls

      public ResourceMaintenance.Builder setControls(int index, MaintenanceControl value)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setControls

      public ResourceMaintenance.Builder setControls(int index, MaintenanceControl.Builder builderForValue)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      public ResourceMaintenance.Builder addControls(MaintenanceControl value)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      public ResourceMaintenance.Builder addControls(int index, MaintenanceControl value)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      public ResourceMaintenance.Builder addControls(MaintenanceControl.Builder builderForValue)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControls

      public ResourceMaintenance.Builder addControls(int index, MaintenanceControl.Builder builderForValue)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllControls

      public ResourceMaintenance.Builder addAllControls(Iterable<? extends MaintenanceControl> values)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearControls

      public ResourceMaintenance.Builder clearControls()
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeControls

      public ResourceMaintenance.Builder removeControls(int index)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getControlsBuilder

      public MaintenanceControl.Builder getControlsBuilder(int index)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getControlsOrBuilder

      public MaintenanceControlOrBuilder getControlsOrBuilder(int index)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsOrBuilder in interface ResourceMaintenanceOrBuilder
    • getControlsOrBuilderList

      public List<? extends MaintenanceControlOrBuilder> getControlsOrBuilderList()
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getControlsOrBuilderList in interface ResourceMaintenanceOrBuilder
    • addControlsBuilder

      public MaintenanceControl.Builder addControlsBuilder()
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addControlsBuilder

      public MaintenanceControl.Builder addControlsBuilder(int index)
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getControlsBuilderList

      public List<MaintenanceControl.Builder> getControlsBuilderList()
       Output only. The controls of the maintenance.
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceControl controls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ResourceMaintenanceOrBuilder
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface ResourceMaintenanceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface ResourceMaintenanceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ResourceMaintenanceOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface ResourceMaintenanceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface ResourceMaintenanceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface ResourceMaintenanceOrBuilder
    • clearLabels

      public ResourceMaintenance.Builder clearLabels()
    • removeLabels

      public ResourceMaintenance.Builder removeLabels(String key)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public ResourceMaintenance.Builder putLabels(String key, String value)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public ResourceMaintenance.Builder putAllLabels(Map<String,String> values)
       Optional. The labels on the resource, which can be used for categorization.
       similar to Kubernetes resource labels.
       
      map<string, string> labels = 10401 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsCount

      public int getAnnotationsCount()
      Description copied from interface: ResourceMaintenanceOrBuilder
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsCount in interface ResourceMaintenanceOrBuilder
    • containsAnnotations

      public boolean containsAnnotations(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsAnnotations in interface ResourceMaintenanceOrBuilder
    • getAnnotations

      @Deprecated public Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
      Specified by:
      getAnnotations in interface ResourceMaintenanceOrBuilder
    • getAnnotationsMap

      public Map<String,String> getAnnotationsMap()
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsMap in interface ResourceMaintenanceOrBuilder
    • getAnnotationsOrDefault

      public String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrDefault in interface ResourceMaintenanceOrBuilder
    • getAnnotationsOrThrow

      public String getAnnotationsOrThrow(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAnnotationsOrThrow in interface ResourceMaintenanceOrBuilder
    • clearAnnotations

      public ResourceMaintenance.Builder clearAnnotations()
    • removeAnnotations

      public ResourceMaintenance.Builder removeAnnotations(String key)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableAnnotations

      @Deprecated public Map<String,String> getMutableAnnotations()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAnnotations

      public ResourceMaintenance.Builder putAnnotations(String key, String value)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
    • putAllAnnotations

      public ResourceMaintenance.Builder putAllAnnotations(Map<String,String> values)
       Optional. Annotations is an unstructured key-value map stored with a
       resource that may be set by external tools to store and retrieve arbitrary
       metadata. They are not queryable and should be preserved when modifying
       objects.
      
       More info: https://kubernetes.io/docs/user-guide/annotations
       
      map<string, string> annotations = 10402 [(.google.api.field_behavior) = OPTIONAL];
    • getUid

      public String getUid()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface ResourceMaintenanceOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface ResourceMaintenanceOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public ResourceMaintenance.Builder setUid(String value)
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public ResourceMaintenance.Builder clearUid()
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setUidBytes

      public ResourceMaintenance.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. The unique identifier of the resource. UID is unique in the
       time and space for this resource within the scope of the service. It is
       typically generated by the server on successful creation of a resource
       and must not be changed. UID is used to uniquely identify resources
       with resource name reuses. This should be a UUID4.
       
      string uid = 10201 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • getEtag

      public String getEtag()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtag in interface ResourceMaintenanceOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEtagBytes in interface ResourceMaintenanceOrBuilder
      Returns:
      The bytes for etag.
    • setEtag

      public ResourceMaintenance.Builder setEtag(String value)
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public ResourceMaintenance.Builder clearEtag()
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEtagBytes

      public ResourceMaintenance.Builder setEtagBytes(com.google.protobuf.ByteString value)
       Output only. An opaque value that uniquely identifies a version or
       generation of a resource. It can be used to confirm that the client
       and server agree on the ordering of a resource being written.
       
      string etag = 10202 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.