Class UpdateRestorePlanRequest.Builder

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

public static final class UpdateRestorePlanRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateRestorePlanRequest.Builder> implements UpdateRestorePlanRequestOrBuilder
 Request message for UpdateRestorePlan.
 
Protobuf type google.cloud.gkebackup.v1.UpdateRestorePlanRequest
  • 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<UpdateRestorePlanRequest.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<UpdateRestorePlanRequest.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<UpdateRestorePlanRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateRestorePlanRequest.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<UpdateRestorePlanRequest.Builder>
      Throws:
      IOException
    • hasRestorePlan

      public boolean hasRestorePlan()
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasRestorePlan in interface UpdateRestorePlanRequestOrBuilder
      Returns:
      Whether the restorePlan field is set.
    • getRestorePlan

      public RestorePlan getRestorePlan()
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRestorePlan in interface UpdateRestorePlanRequestOrBuilder
      Returns:
      The restorePlan.
    • setRestorePlan

      public UpdateRestorePlanRequest.Builder setRestorePlan(RestorePlan value)
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
    • setRestorePlan

      public UpdateRestorePlanRequest.Builder setRestorePlan(RestorePlan.Builder builderForValue)
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeRestorePlan

      public UpdateRestorePlanRequest.Builder mergeRestorePlan(RestorePlan value)
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearRestorePlan

      public UpdateRestorePlanRequest.Builder clearRestorePlan()
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRestorePlanBuilder

      public RestorePlan.Builder getRestorePlanBuilder()
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
    • getRestorePlanOrBuilder

      public RestorePlanOrBuilder getRestorePlanOrBuilder()
       Required. A new version of the RestorePlan resource that contains updated
       fields. This may be sparsely populated if an `update_mask` is provided.
       
      .google.cloud.gkebackup.v1.RestorePlan restore_plan = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRestorePlanOrBuilder in interface UpdateRestorePlanRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateRestorePlanRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateRestorePlanRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateRestorePlanRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateRestorePlanRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateRestorePlanRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateRestorePlanRequest.Builder clearUpdateMask()
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. This is used to specify the fields to be overwritten in the
       RestorePlan targeted for update. The values for each of these
       updated fields will be taken from the `restore_plan` provided
       with this request. Field names are relative to the root of the resource.
       If no `update_mask` is provided, all fields in `restore_plan` will be
       written to the target RestorePlan resource.
       Note that OUTPUT_ONLY and IMMUTABLE fields in `restore_plan` are ignored
       and are not used to update the target RestorePlan.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateRestorePlanRequestOrBuilder