Class UpdateDatasetConfigRequest.Builder

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

public static final class UpdateDatasetConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateDatasetConfigRequest.Builder> implements UpdateDatasetConfigRequestOrBuilder
 Request message for
 [`UpdateDatasetConfig`][google.cloud.storageinsights.v1.StorageInsights.UpdateDatasetConfig]
 
Protobuf type google.cloud.storageinsights.v1.UpdateDatasetConfigRequest
  • 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<UpdateDatasetConfigRequest.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<UpdateDatasetConfigRequest.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<UpdateDatasetConfigRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public UpdateDatasetConfigRequest.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<UpdateDatasetConfigRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateDatasetConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateDatasetConfigRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateDatasetConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateDatasetConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateDatasetConfigRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateDatasetConfigRequest.Builder clearUpdateMask()
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. Field mask is used to specify the fields to be overwritten in the
       `DatasetConfig` resource by the update.
       The fields specified in the `update_mask` are relative to the resource, not
       the full request. A field is overwritten if it is in the mask. If the
       user does not provide a mask then it returns an "Invalid Argument" error.
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateDatasetConfigRequestOrBuilder
    • hasDatasetConfig

      public boolean hasDatasetConfig()
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDatasetConfig in interface UpdateDatasetConfigRequestOrBuilder
      Returns:
      Whether the datasetConfig field is set.
    • getDatasetConfig

      public DatasetConfig getDatasetConfig()
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetConfig in interface UpdateDatasetConfigRequestOrBuilder
      Returns:
      The datasetConfig.
    • setDatasetConfig

      public UpdateDatasetConfigRequest.Builder setDatasetConfig(DatasetConfig value)
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • setDatasetConfig

      public UpdateDatasetConfigRequest.Builder setDatasetConfig(DatasetConfig.Builder builderForValue)
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeDatasetConfig

      public UpdateDatasetConfigRequest.Builder mergeDatasetConfig(DatasetConfig value)
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearDatasetConfig

      public UpdateDatasetConfigRequest.Builder clearDatasetConfig()
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDatasetConfigBuilder

      public DatasetConfig.Builder getDatasetConfigBuilder()
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDatasetConfigOrBuilder

      public DatasetConfigOrBuilder getDatasetConfigOrBuilder()
       Required. The resource being updated
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetConfigOrBuilder in interface UpdateDatasetConfigRequestOrBuilder
    • getRequestId

      public String getRequestId()
       Optional. A unique identifier for your request.
       Specify the request ID if you need to retry the request.
       If you retry the request with the same ID within 60 minutes, the server
       ignores the request if it has already completed the original request.
      
       For example, if your initial request times out and you retry the request
       using the same request ID, the server recognizes the original request and
       does not process the new request.
      
       The request ID must be a valid UUID and cannot be a zero UUID
       (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestId in interface UpdateDatasetConfigRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. A unique identifier for your request.
       Specify the request ID if you need to retry the request.
       If you retry the request with the same ID within 60 minutes, the server
       ignores the request if it has already completed the original request.
      
       For example, if your initial request times out and you retry the request
       using the same request ID, the server recognizes the original request and
       does not process the new request.
      
       The request ID must be a valid UUID and cannot be a zero UUID
       (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestIdBytes in interface UpdateDatasetConfigRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public UpdateDatasetConfigRequest.Builder setRequestId(String value)
       Optional. A unique identifier for your request.
       Specify the request ID if you need to retry the request.
       If you retry the request with the same ID within 60 minutes, the server
       ignores the request if it has already completed the original request.
      
       For example, if your initial request times out and you retry the request
       using the same request ID, the server recognizes the original request and
       does not process the new request.
      
       The request ID must be a valid UUID and cannot be a zero UUID
       (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public UpdateDatasetConfigRequest.Builder clearRequestId()
       Optional. A unique identifier for your request.
       Specify the request ID if you need to retry the request.
       If you retry the request with the same ID within 60 minutes, the server
       ignores the request if it has already completed the original request.
      
       For example, if your initial request times out and you retry the request
       using the same request ID, the server recognizes the original request and
       does not process the new request.
      
       The request ID must be a valid UUID and cannot be a zero UUID
       (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public UpdateDatasetConfigRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. A unique identifier for your request.
       Specify the request ID if you need to retry the request.
       If you retry the request with the same ID within 60 minutes, the server
       ignores the request if it has already completed the original request.
      
       For example, if your initial request times out and you retry the request
       using the same request ID, the server recognizes the original request and
       does not process the new request.
      
       The request ID must be a valid UUID and cannot be a zero UUID
       (00000000-0000-0000-0000-000000000000).
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.