Class CreateDatasetConfigRequest.Builder

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

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

      public CreateDatasetConfigRequest 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 CreateDatasetConfigRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public CreateDatasetConfigRequest.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<CreateDatasetConfigRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateDatasetConfigRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateDatasetConfigRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateDatasetConfigRequest.Builder setParent(String value)
       Required. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateDatasetConfigRequest.Builder clearParent()
       Required. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateDatasetConfigRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Value for parent.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getDatasetConfigId

      public String getDatasetConfigId()
       Required. ID of the requesting object.
       If auto-generating ID is enabled on the server-side, remove this field and
       `dataset_config_id` from the method_signature of Create RPC
       Note: The value should not contain any hyphens.
       
      string dataset_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetConfigId in interface CreateDatasetConfigRequestOrBuilder
      Returns:
      The datasetConfigId.
    • getDatasetConfigIdBytes

      public com.google.protobuf.ByteString getDatasetConfigIdBytes()
       Required. ID of the requesting object.
       If auto-generating ID is enabled on the server-side, remove this field and
       `dataset_config_id` from the method_signature of Create RPC
       Note: The value should not contain any hyphens.
       
      string dataset_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetConfigIdBytes in interface CreateDatasetConfigRequestOrBuilder
      Returns:
      The bytes for datasetConfigId.
    • setDatasetConfigId

      public CreateDatasetConfigRequest.Builder setDatasetConfigId(String value)
       Required. ID of the requesting object.
       If auto-generating ID is enabled on the server-side, remove this field and
       `dataset_config_id` from the method_signature of Create RPC
       Note: The value should not contain any hyphens.
       
      string dataset_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The datasetConfigId to set.
      Returns:
      This builder for chaining.
    • clearDatasetConfigId

      public CreateDatasetConfigRequest.Builder clearDatasetConfigId()
       Required. ID of the requesting object.
       If auto-generating ID is enabled on the server-side, remove this field and
       `dataset_config_id` from the method_signature of Create RPC
       Note: The value should not contain any hyphens.
       
      string dataset_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDatasetConfigIdBytes

      public CreateDatasetConfigRequest.Builder setDatasetConfigIdBytes(com.google.protobuf.ByteString value)
       Required. ID of the requesting object.
       If auto-generating ID is enabled on the server-side, remove this field and
       `dataset_config_id` from the method_signature of Create RPC
       Note: The value should not contain any hyphens.
       
      string dataset_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for datasetConfigId to set.
      Returns:
      This builder for chaining.
    • hasDatasetConfig

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

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

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

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

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

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

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

      public DatasetConfigOrBuilder getDatasetConfigOrBuilder()
       Required. The resource being created
       
      .google.cloud.storageinsights.v1.DatasetConfig dataset_config = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDatasetConfigOrBuilder in interface CreateDatasetConfigRequestOrBuilder
    • 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestId in interface CreateDatasetConfigRequestOrBuilder
      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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRequestIdBytes in interface CreateDatasetConfigRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public CreateDatasetConfigRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public CreateDatasetConfigRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public CreateDatasetConfigRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.