Class DatasetConfig.Builder

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

public static final class DatasetConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatasetConfig.Builder> implements DatasetConfigOrBuilder
 Message describing the dataset configuration properties. For more
 information, see [Dataset configuration
 properties](https://cloud.google.com/storage/docs/insights/datasets#dataset-config).
 
Protobuf type google.cloud.storageinsights.v1.DatasetConfig
  • 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<DatasetConfig.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DatasetConfig.Builder>
    • clear

      public DatasetConfig.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<DatasetConfig.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<DatasetConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DatasetConfig.Builder mergeFrom(DatasetConfig other)
    • isInitialized

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

      public DatasetConfig.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<DatasetConfig.Builder>
      Throws:
      IOException
    • getSourceOptionsCase

      public DatasetConfig.SourceOptionsCase getSourceOptionsCase()
      Specified by:
      getSourceOptionsCase in interface DatasetConfigOrBuilder
    • clearSourceOptions

      public DatasetConfig.Builder clearSourceOptions()
    • getCloudStorageLocationsCase

      public DatasetConfig.CloudStorageLocationsCase getCloudStorageLocationsCase()
      Specified by:
      getCloudStorageLocationsCase in interface DatasetConfigOrBuilder
    • clearCloudStorageLocations

      public DatasetConfig.Builder clearCloudStorageLocations()
    • getCloudStorageBucketsCase

      public DatasetConfig.CloudStorageBucketsCase getCloudStorageBucketsCase()
      Specified by:
      getCloudStorageBucketsCase in interface DatasetConfigOrBuilder
    • clearCloudStorageBuckets

      public DatasetConfig.Builder clearCloudStorageBuckets()
    • getName

      public String getName()
       Identifier. name of resource
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DatasetConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. name of resource
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DatasetConfigOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DatasetConfig.Builder setName(String value)
       Identifier. name of resource
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DatasetConfig.Builder clearName()
       Identifier. name of resource
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DatasetConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. name of resource
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DatasetConfigOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DatasetConfigOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public DatasetConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public DatasetConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public DatasetConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public DatasetConfig.Builder clearCreateTime()
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The UTC time at which the dataset configuration was created.
       This is auto-populated.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DatasetConfigOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DatasetConfigOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DatasetConfigOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public DatasetConfig.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public DatasetConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public DatasetConfig.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public DatasetConfig.Builder clearUpdateTime()
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The UTC time at which the dataset configuration was last
       updated. This is auto-populated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DatasetConfigOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DatasetConfigOrBuilder
       Labels as key value pairs
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsCount in interface DatasetConfigOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs
       
      map<string, string> labels = 4;
      Specified by:
      containsLabels in interface DatasetConfigOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Labels as key value pairs
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface DatasetConfigOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrDefault in interface DatasetConfigOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsOrThrow in interface DatasetConfigOrBuilder
    • clearLabels

      public DatasetConfig.Builder clearLabels()
    • removeLabels

      public DatasetConfig.Builder removeLabels(String key)
       Labels as key value pairs
       
      map<string, string> labels = 4;
    • getMutableLabels

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

      public DatasetConfig.Builder putLabels(String key, String value)
       Labels as key value pairs
       
      map<string, string> labels = 4;
    • putAllLabels

      public DatasetConfig.Builder putAllLabels(Map<String,String> values)
       Labels as key value pairs
       
      map<string, string> labels = 4;
    • getUid

      public String getUid()
       Output only. System generated unique identifier for the resource.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface DatasetConfigOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. System generated unique identifier for the resource.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUidBytes in interface DatasetConfigOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public DatasetConfig.Builder setUid(String value)
       Output only. System generated unique identifier for the resource.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The uid to set.
      Returns:
      This builder for chaining.
    • clearUid

      public DatasetConfig.Builder clearUid()
       Output only. System generated unique identifier for the resource.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUidBytes

      public DatasetConfig.Builder setUidBytes(com.google.protobuf.ByteString value)
       Output only. System generated unique identifier for the resource.
       
      string uid = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for uid to set.
      Returns:
      This builder for chaining.
    • getOrganizationNumber

      public long getOrganizationNumber()
       Optional. Organization resource ID that the source projects should belong
       to. Projects that do not belong to the provided organization are not
       considered when creating the dataset.
       
      int64 organization_number = 22 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrganizationNumber in interface DatasetConfigOrBuilder
      Returns:
      The organizationNumber.
    • setOrganizationNumber

      public DatasetConfig.Builder setOrganizationNumber(long value)
       Optional. Organization resource ID that the source projects should belong
       to. Projects that do not belong to the provided organization are not
       considered when creating the dataset.
       
      int64 organization_number = 22 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The organizationNumber to set.
      Returns:
      This builder for chaining.
    • clearOrganizationNumber

      public DatasetConfig.Builder clearOrganizationNumber()
       Optional. Organization resource ID that the source projects should belong
       to. Projects that do not belong to the provided organization are not
       considered when creating the dataset.
       
      int64 organization_number = 22 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasSourceProjects

      public boolean hasSourceProjects()
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
      Specified by:
      hasSourceProjects in interface DatasetConfigOrBuilder
      Returns:
      Whether the sourceProjects field is set.
    • getSourceProjects

      public DatasetConfig.SourceProjects getSourceProjects()
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
      Specified by:
      getSourceProjects in interface DatasetConfigOrBuilder
      Returns:
      The sourceProjects.
    • setSourceProjects

      public DatasetConfig.Builder setSourceProjects(DatasetConfig.SourceProjects value)
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
    • setSourceProjects

      public DatasetConfig.Builder setSourceProjects(DatasetConfig.SourceProjects.Builder builderForValue)
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
    • mergeSourceProjects

      public DatasetConfig.Builder mergeSourceProjects(DatasetConfig.SourceProjects value)
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
    • clearSourceProjects

      public DatasetConfig.Builder clearSourceProjects()
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
    • getSourceProjectsBuilder

      public DatasetConfig.SourceProjects.Builder getSourceProjectsBuilder()
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
    • getSourceProjectsOrBuilder

      public DatasetConfig.SourceProjectsOrBuilder getSourceProjectsOrBuilder()
       Defines the options for providing source projects for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceProjects source_projects = 7;
      Specified by:
      getSourceProjectsOrBuilder in interface DatasetConfigOrBuilder
    • hasSourceFolders

      public boolean hasSourceFolders()
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
      Specified by:
      hasSourceFolders in interface DatasetConfigOrBuilder
      Returns:
      Whether the sourceFolders field is set.
    • getSourceFolders

      public DatasetConfig.SourceFolders getSourceFolders()
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
      Specified by:
      getSourceFolders in interface DatasetConfigOrBuilder
      Returns:
      The sourceFolders.
    • setSourceFolders

      public DatasetConfig.Builder setSourceFolders(DatasetConfig.SourceFolders value)
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
    • setSourceFolders

      public DatasetConfig.Builder setSourceFolders(DatasetConfig.SourceFolders.Builder builderForValue)
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
    • mergeSourceFolders

      public DatasetConfig.Builder mergeSourceFolders(DatasetConfig.SourceFolders value)
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
    • clearSourceFolders

      public DatasetConfig.Builder clearSourceFolders()
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
    • getSourceFoldersBuilder

      public DatasetConfig.SourceFolders.Builder getSourceFoldersBuilder()
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
    • getSourceFoldersOrBuilder

      public DatasetConfig.SourceFoldersOrBuilder getSourceFoldersOrBuilder()
       Defines the options for providing source folders for the dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.SourceFolders source_folders = 24;
      Specified by:
      getSourceFoldersOrBuilder in interface DatasetConfigOrBuilder
    • hasOrganizationScope

      public boolean hasOrganizationScope()
       Defines the options for providing a source organization for the dataset.
       
      bool organization_scope = 25;
      Specified by:
      hasOrganizationScope in interface DatasetConfigOrBuilder
      Returns:
      Whether the organizationScope field is set.
    • getOrganizationScope

      public boolean getOrganizationScope()
       Defines the options for providing a source organization for the dataset.
       
      bool organization_scope = 25;
      Specified by:
      getOrganizationScope in interface DatasetConfigOrBuilder
      Returns:
      The organizationScope.
    • setOrganizationScope

      public DatasetConfig.Builder setOrganizationScope(boolean value)
       Defines the options for providing a source organization for the dataset.
       
      bool organization_scope = 25;
      Parameters:
      value - The organizationScope to set.
      Returns:
      This builder for chaining.
    • clearOrganizationScope

      public DatasetConfig.Builder clearOrganizationScope()
       Defines the options for providing a source organization for the dataset.
       
      bool organization_scope = 25;
      Returns:
      This builder for chaining.
    • hasCloudStorageObjectPath

      public boolean hasCloudStorageObjectPath()
       Input only. Cloud Storage object path containing a list of
       project or folder numbers to include in the dataset;
       it cannot contain a mix of project and folders.
      
       The object must be a text file where each line has one of the following
       entries:
      
       - Project number, formatted as `projects/{project_number}`, for example,
       `projects/1234567890`.
       - Folder identifier, formatted as `folders/{folder_number}`, for example,
       `folders/9876543210`.
       Path must be in the format `gs://{bucket_name}/{object_name}`.
       
      string cloud_storage_object_path = 21 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      hasCloudStorageObjectPath in interface DatasetConfigOrBuilder
      Returns:
      Whether the cloudStorageObjectPath field is set.
    • getCloudStorageObjectPath

      public String getCloudStorageObjectPath()
       Input only. Cloud Storage object path containing a list of
       project or folder numbers to include in the dataset;
       it cannot contain a mix of project and folders.
      
       The object must be a text file where each line has one of the following
       entries:
      
       - Project number, formatted as `projects/{project_number}`, for example,
       `projects/1234567890`.
       - Folder identifier, formatted as `folders/{folder_number}`, for example,
       `folders/9876543210`.
       Path must be in the format `gs://{bucket_name}/{object_name}`.
       
      string cloud_storage_object_path = 21 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getCloudStorageObjectPath in interface DatasetConfigOrBuilder
      Returns:
      The cloudStorageObjectPath.
    • getCloudStorageObjectPathBytes

      public com.google.protobuf.ByteString getCloudStorageObjectPathBytes()
       Input only. Cloud Storage object path containing a list of
       project or folder numbers to include in the dataset;
       it cannot contain a mix of project and folders.
      
       The object must be a text file where each line has one of the following
       entries:
      
       - Project number, formatted as `projects/{project_number}`, for example,
       `projects/1234567890`.
       - Folder identifier, formatted as `folders/{folder_number}`, for example,
       `folders/9876543210`.
       Path must be in the format `gs://{bucket_name}/{object_name}`.
       
      string cloud_storage_object_path = 21 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getCloudStorageObjectPathBytes in interface DatasetConfigOrBuilder
      Returns:
      The bytes for cloudStorageObjectPath.
    • setCloudStorageObjectPath

      public DatasetConfig.Builder setCloudStorageObjectPath(String value)
       Input only. Cloud Storage object path containing a list of
       project or folder numbers to include in the dataset;
       it cannot contain a mix of project and folders.
      
       The object must be a text file where each line has one of the following
       entries:
      
       - Project number, formatted as `projects/{project_number}`, for example,
       `projects/1234567890`.
       - Folder identifier, formatted as `folders/{folder_number}`, for example,
       `folders/9876543210`.
       Path must be in the format `gs://{bucket_name}/{object_name}`.
       
      string cloud_storage_object_path = 21 [(.google.api.field_behavior) = INPUT_ONLY];
      Parameters:
      value - The cloudStorageObjectPath to set.
      Returns:
      This builder for chaining.
    • clearCloudStorageObjectPath

      public DatasetConfig.Builder clearCloudStorageObjectPath()
       Input only. Cloud Storage object path containing a list of
       project or folder numbers to include in the dataset;
       it cannot contain a mix of project and folders.
      
       The object must be a text file where each line has one of the following
       entries:
      
       - Project number, formatted as `projects/{project_number}`, for example,
       `projects/1234567890`.
       - Folder identifier, formatted as `folders/{folder_number}`, for example,
       `folders/9876543210`.
       Path must be in the format `gs://{bucket_name}/{object_name}`.
       
      string cloud_storage_object_path = 21 [(.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCloudStorageObjectPathBytes

      public DatasetConfig.Builder setCloudStorageObjectPathBytes(com.google.protobuf.ByteString value)
       Input only. Cloud Storage object path containing a list of
       project or folder numbers to include in the dataset;
       it cannot contain a mix of project and folders.
      
       The object must be a text file where each line has one of the following
       entries:
      
       - Project number, formatted as `projects/{project_number}`, for example,
       `projects/1234567890`.
       - Folder identifier, formatted as `folders/{folder_number}`, for example,
       `folders/9876543210`.
       Path must be in the format `gs://{bucket_name}/{object_name}`.
       
      string cloud_storage_object_path = 21 [(.google.api.field_behavior) = INPUT_ONLY];
      Parameters:
      value - The bytes for cloudStorageObjectPath to set.
      Returns:
      This builder for chaining.
    • hasIncludeCloudStorageLocations

      public boolean hasIncludeCloudStorageLocations()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
      Specified by:
      hasIncludeCloudStorageLocations in interface DatasetConfigOrBuilder
      Returns:
      Whether the includeCloudStorageLocations field is set.
    • getIncludeCloudStorageLocations

      public DatasetConfig.CloudStorageLocations getIncludeCloudStorageLocations()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
      Specified by:
      getIncludeCloudStorageLocations in interface DatasetConfigOrBuilder
      Returns:
      The includeCloudStorageLocations.
    • setIncludeCloudStorageLocations

      public DatasetConfig.Builder setIncludeCloudStorageLocations(DatasetConfig.CloudStorageLocations value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
    • setIncludeCloudStorageLocations

      public DatasetConfig.Builder setIncludeCloudStorageLocations(DatasetConfig.CloudStorageLocations.Builder builderForValue)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
    • mergeIncludeCloudStorageLocations

      public DatasetConfig.Builder mergeIncludeCloudStorageLocations(DatasetConfig.CloudStorageLocations value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
    • clearIncludeCloudStorageLocations

      public DatasetConfig.Builder clearIncludeCloudStorageLocations()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
    • getIncludeCloudStorageLocationsBuilder

      public DatasetConfig.CloudStorageLocations.Builder getIncludeCloudStorageLocationsBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
    • getIncludeCloudStorageLocationsOrBuilder

      public DatasetConfig.CloudStorageLocationsOrBuilder getIncludeCloudStorageLocationsOrBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations include_cloud_storage_locations = 8;
      Specified by:
      getIncludeCloudStorageLocationsOrBuilder in interface DatasetConfigOrBuilder
    • hasExcludeCloudStorageLocations

      public boolean hasExcludeCloudStorageLocations()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
      Specified by:
      hasExcludeCloudStorageLocations in interface DatasetConfigOrBuilder
      Returns:
      Whether the excludeCloudStorageLocations field is set.
    • getExcludeCloudStorageLocations

      public DatasetConfig.CloudStorageLocations getExcludeCloudStorageLocations()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
      Specified by:
      getExcludeCloudStorageLocations in interface DatasetConfigOrBuilder
      Returns:
      The excludeCloudStorageLocations.
    • setExcludeCloudStorageLocations

      public DatasetConfig.Builder setExcludeCloudStorageLocations(DatasetConfig.CloudStorageLocations value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
    • setExcludeCloudStorageLocations

      public DatasetConfig.Builder setExcludeCloudStorageLocations(DatasetConfig.CloudStorageLocations.Builder builderForValue)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
    • mergeExcludeCloudStorageLocations

      public DatasetConfig.Builder mergeExcludeCloudStorageLocations(DatasetConfig.CloudStorageLocations value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
    • clearExcludeCloudStorageLocations

      public DatasetConfig.Builder clearExcludeCloudStorageLocations()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
    • getExcludeCloudStorageLocationsBuilder

      public DatasetConfig.CloudStorageLocations.Builder getExcludeCloudStorageLocationsBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
    • getExcludeCloudStorageLocationsOrBuilder

      public DatasetConfig.CloudStorageLocationsOrBuilder getExcludeCloudStorageLocationsOrBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageLocations exclude_cloud_storage_locations = 9;
      Specified by:
      getExcludeCloudStorageLocationsOrBuilder in interface DatasetConfigOrBuilder
    • hasIncludeCloudStorageBuckets

      public boolean hasIncludeCloudStorageBuckets()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
      Specified by:
      hasIncludeCloudStorageBuckets in interface DatasetConfigOrBuilder
      Returns:
      Whether the includeCloudStorageBuckets field is set.
    • getIncludeCloudStorageBuckets

      public DatasetConfig.CloudStorageBuckets getIncludeCloudStorageBuckets()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
      Specified by:
      getIncludeCloudStorageBuckets in interface DatasetConfigOrBuilder
      Returns:
      The includeCloudStorageBuckets.
    • setIncludeCloudStorageBuckets

      public DatasetConfig.Builder setIncludeCloudStorageBuckets(DatasetConfig.CloudStorageBuckets value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
    • setIncludeCloudStorageBuckets

      public DatasetConfig.Builder setIncludeCloudStorageBuckets(DatasetConfig.CloudStorageBuckets.Builder builderForValue)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
    • mergeIncludeCloudStorageBuckets

      public DatasetConfig.Builder mergeIncludeCloudStorageBuckets(DatasetConfig.CloudStorageBuckets value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
    • clearIncludeCloudStorageBuckets

      public DatasetConfig.Builder clearIncludeCloudStorageBuckets()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
    • getIncludeCloudStorageBucketsBuilder

      public DatasetConfig.CloudStorageBuckets.Builder getIncludeCloudStorageBucketsBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
    • getIncludeCloudStorageBucketsOrBuilder

      public DatasetConfig.CloudStorageBucketsOrBuilder getIncludeCloudStorageBucketsOrBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets include_cloud_storage_buckets = 10;
      Specified by:
      getIncludeCloudStorageBucketsOrBuilder in interface DatasetConfigOrBuilder
    • hasExcludeCloudStorageBuckets

      public boolean hasExcludeCloudStorageBuckets()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
      Specified by:
      hasExcludeCloudStorageBuckets in interface DatasetConfigOrBuilder
      Returns:
      Whether the excludeCloudStorageBuckets field is set.
    • getExcludeCloudStorageBuckets

      public DatasetConfig.CloudStorageBuckets getExcludeCloudStorageBuckets()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
      Specified by:
      getExcludeCloudStorageBuckets in interface DatasetConfigOrBuilder
      Returns:
      The excludeCloudStorageBuckets.
    • setExcludeCloudStorageBuckets

      public DatasetConfig.Builder setExcludeCloudStorageBuckets(DatasetConfig.CloudStorageBuckets value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
    • setExcludeCloudStorageBuckets

      public DatasetConfig.Builder setExcludeCloudStorageBuckets(DatasetConfig.CloudStorageBuckets.Builder builderForValue)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
    • mergeExcludeCloudStorageBuckets

      public DatasetConfig.Builder mergeExcludeCloudStorageBuckets(DatasetConfig.CloudStorageBuckets value)
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
    • clearExcludeCloudStorageBuckets

      public DatasetConfig.Builder clearExcludeCloudStorageBuckets()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
    • getExcludeCloudStorageBucketsBuilder

      public DatasetConfig.CloudStorageBuckets.Builder getExcludeCloudStorageBucketsBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
    • getExcludeCloudStorageBucketsOrBuilder

      public DatasetConfig.CloudStorageBucketsOrBuilder getExcludeCloudStorageBucketsOrBuilder()
      .google.cloud.storageinsights.v1.DatasetConfig.CloudStorageBuckets exclude_cloud_storage_buckets = 11;
      Specified by:
      getExcludeCloudStorageBucketsOrBuilder in interface DatasetConfigOrBuilder
    • getIncludeNewlyCreatedBuckets

      public boolean getIncludeNewlyCreatedBuckets()
       If set to `true`, the request includes all the newly created buckets in the
       dataset that meet the inclusion and exclusion rules.
       
      bool include_newly_created_buckets = 12;
      Specified by:
      getIncludeNewlyCreatedBuckets in interface DatasetConfigOrBuilder
      Returns:
      The includeNewlyCreatedBuckets.
    • setIncludeNewlyCreatedBuckets

      public DatasetConfig.Builder setIncludeNewlyCreatedBuckets(boolean value)
       If set to `true`, the request includes all the newly created buckets in the
       dataset that meet the inclusion and exclusion rules.
       
      bool include_newly_created_buckets = 12;
      Parameters:
      value - The includeNewlyCreatedBuckets to set.
      Returns:
      This builder for chaining.
    • clearIncludeNewlyCreatedBuckets

      public DatasetConfig.Builder clearIncludeNewlyCreatedBuckets()
       If set to `true`, the request includes all the newly created buckets in the
       dataset that meet the inclusion and exclusion rules.
       
      bool include_newly_created_buckets = 12;
      Returns:
      This builder for chaining.
    • getSkipVerificationAndIngest

      @Deprecated public boolean getSkipVerificationAndIngest()
      Deprecated.
      google.cloud.storageinsights.v1.DatasetConfig.skip_verification_and_ingest is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=848
       Optional. If set to `false`, then all the permission checks must be
       successful before the system can start ingesting data. This field can only
       be updated before the system ingests data for the first time. Any attempt
       to modify the field after data ingestion starts results in an error.
       
      bool skip_verification_and_ingest = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSkipVerificationAndIngest in interface DatasetConfigOrBuilder
      Returns:
      The skipVerificationAndIngest.
    • setSkipVerificationAndIngest

      @Deprecated public DatasetConfig.Builder setSkipVerificationAndIngest(boolean value)
      Deprecated.
      google.cloud.storageinsights.v1.DatasetConfig.skip_verification_and_ingest is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=848
       Optional. If set to `false`, then all the permission checks must be
       successful before the system can start ingesting data. This field can only
       be updated before the system ingests data for the first time. Any attempt
       to modify the field after data ingestion starts results in an error.
       
      bool skip_verification_and_ingest = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The skipVerificationAndIngest to set.
      Returns:
      This builder for chaining.
    • clearSkipVerificationAndIngest

      @Deprecated public DatasetConfig.Builder clearSkipVerificationAndIngest()
      Deprecated.
      google.cloud.storageinsights.v1.DatasetConfig.skip_verification_and_ingest is deprecated. See google/cloud/storageinsights/v1/storageinsights.proto;l=848
       Optional. If set to `false`, then all the permission checks must be
       successful before the system can start ingesting data. This field can only
       be updated before the system ingests data for the first time. Any attempt
       to modify the field after data ingestion starts results in an error.
       
      bool skip_verification_and_ingest = 19 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getRetentionPeriodDays

      public int getRetentionPeriodDays()
       Number of days of history that must be retained.
       
      int32 retention_period_days = 14;
      Specified by:
      getRetentionPeriodDays in interface DatasetConfigOrBuilder
      Returns:
      The retentionPeriodDays.
    • setRetentionPeriodDays

      public DatasetConfig.Builder setRetentionPeriodDays(int value)
       Number of days of history that must be retained.
       
      int32 retention_period_days = 14;
      Parameters:
      value - The retentionPeriodDays to set.
      Returns:
      This builder for chaining.
    • clearRetentionPeriodDays

      public DatasetConfig.Builder clearRetentionPeriodDays()
       Number of days of history that must be retained.
       
      int32 retention_period_days = 14;
      Returns:
      This builder for chaining.
    • hasLink

      public boolean hasLink()
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
      Specified by:
      hasLink in interface DatasetConfigOrBuilder
      Returns:
      Whether the link field is set.
    • getLink

      public DatasetConfig.Link getLink()
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
      Specified by:
      getLink in interface DatasetConfigOrBuilder
      Returns:
      The link.
    • setLink

      public DatasetConfig.Builder setLink(DatasetConfig.Link value)
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
    • setLink

      public DatasetConfig.Builder setLink(DatasetConfig.Link.Builder builderForValue)
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
    • mergeLink

      public DatasetConfig.Builder mergeLink(DatasetConfig.Link value)
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
    • clearLink

      public DatasetConfig.Builder clearLink()
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
    • getLinkBuilder

      public DatasetConfig.Link.Builder getLinkBuilder()
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
    • getLinkOrBuilder

      public DatasetConfig.LinkOrBuilder getLinkOrBuilder()
       Details of the linked dataset.
       
      .google.cloud.storageinsights.v1.DatasetConfig.Link link = 15;
      Specified by:
      getLinkOrBuilder in interface DatasetConfigOrBuilder
    • hasIdentity

      public boolean hasIdentity()
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
      Specified by:
      hasIdentity in interface DatasetConfigOrBuilder
      Returns:
      Whether the identity field is set.
    • getIdentity

      public Identity getIdentity()
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
      Specified by:
      getIdentity in interface DatasetConfigOrBuilder
      Returns:
      The identity.
    • setIdentity

      public DatasetConfig.Builder setIdentity(Identity value)
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
    • setIdentity

      public DatasetConfig.Builder setIdentity(Identity.Builder builderForValue)
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
    • mergeIdentity

      public DatasetConfig.Builder mergeIdentity(Identity value)
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
    • clearIdentity

      public DatasetConfig.Builder clearIdentity()
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
    • getIdentityBuilder

      public Identity.Builder getIdentityBuilder()
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
    • getIdentityOrBuilder

      public IdentityOrBuilder getIdentityOrBuilder()
       Identity used by this `datasetConfig`.
       
      .google.cloud.storageinsights.v1.Identity identity = 16;
      Specified by:
      getIdentityOrBuilder in interface DatasetConfigOrBuilder
    • hasStatus

      public boolean hasStatus()
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStatus in interface DatasetConfigOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface DatasetConfigOrBuilder
      Returns:
      The status.
    • setStatus

      public DatasetConfig.Builder setStatus(Status value)
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStatus

      public DatasetConfig.Builder setStatus(Status.Builder builderForValue)
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStatus

      public DatasetConfig.Builder mergeStatus(Status value)
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStatus

      public DatasetConfig.Builder clearStatus()
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatusBuilder

      public Status.Builder getStatusBuilder()
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
       Output only. Status of the `datasetConfig`.
       
      .google.rpc.Status status = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusOrBuilder in interface DatasetConfigOrBuilder
    • getDatasetConfigStateValue

      public int getDatasetConfigStateValue()
       Output only. State of the `datasetConfig`.
       
      .google.cloud.storageinsights.v1.DatasetConfig.ConfigState dataset_config_state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatasetConfigStateValue in interface DatasetConfigOrBuilder
      Returns:
      The enum numeric value on the wire for datasetConfigState.
    • setDatasetConfigStateValue

      public DatasetConfig.Builder setDatasetConfigStateValue(int value)
       Output only. State of the `datasetConfig`.
       
      .google.cloud.storageinsights.v1.DatasetConfig.ConfigState dataset_config_state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for datasetConfigState to set.
      Returns:
      This builder for chaining.
    • getDatasetConfigState

      public DatasetConfig.ConfigState getDatasetConfigState()
       Output only. State of the `datasetConfig`.
       
      .google.cloud.storageinsights.v1.DatasetConfig.ConfigState dataset_config_state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatasetConfigState in interface DatasetConfigOrBuilder
      Returns:
      The datasetConfigState.
    • setDatasetConfigState

      public DatasetConfig.Builder setDatasetConfigState(DatasetConfig.ConfigState value)
       Output only. State of the `datasetConfig`.
       
      .google.cloud.storageinsights.v1.DatasetConfig.ConfigState dataset_config_state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The datasetConfigState to set.
      Returns:
      This builder for chaining.
    • clearDatasetConfigState

      public DatasetConfig.Builder clearDatasetConfigState()
       Output only. State of the `datasetConfig`.
       
      .google.cloud.storageinsights.v1.DatasetConfig.ConfigState dataset_config_state = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. A user-provided description for the dataset configuration.
      
       Maximum length: 256 characters.
       
      string description = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DatasetConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A user-provided description for the dataset configuration.
      
       Maximum length: 256 characters.
       
      string description = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface DatasetConfigOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DatasetConfig.Builder setDescription(String value)
       Optional. A user-provided description for the dataset configuration.
      
       Maximum length: 256 characters.
       
      string description = 20 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DatasetConfig.Builder clearDescription()
       Optional. A user-provided description for the dataset configuration.
      
       Maximum length: 256 characters.
       
      string description = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DatasetConfig.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. A user-provided description for the dataset configuration.
      
       Maximum length: 256 characters.
       
      string description = 20 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.