Class Dataset.Builder

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

public static final class Dataset.Builder extends com.google.protobuf.GeneratedMessage.Builder<Dataset.Builder> implements DatasetOrBuilder
 The Dataset resource contains summary information about a dataset.
 
Protobuf type google.cloud.financialservices.v1.Dataset
  • 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<Dataset.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public Dataset.Builder mergeFrom(Dataset other)
    • isInitialized

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

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

      public String getName()
       Output only. The resource name of the Dataset.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface DatasetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name of the Dataset.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface DatasetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Dataset.Builder setName(String value)
       Output only. The resource name of the Dataset.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Dataset.Builder clearName()
       Output only. The resource name of the Dataset.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Dataset.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the Dataset.
       format:
       `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DatasetOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DatasetOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Dataset.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Dataset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Dataset.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Dataset.Builder clearCreateTime()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp of creation of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DatasetOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DatasetOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DatasetOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Dataset.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Dataset.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Dataset.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Dataset.Builder clearUpdateTime()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp of the most recent update of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DatasetOrBuilder
    • getLabelsCount

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

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

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

      public Map<String,String> getLabelsMap()
       Labels
       
      map<string, string> labels = 4;
      Specified by:
      getLabelsMap in interface DatasetOrBuilder
    • getLabelsOrDefault

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

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

      public Dataset.Builder clearLabels()
    • removeLabels

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

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

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

      public Dataset.Builder putAllLabels(Map<String,String> values)
       Labels
       
      map<string, string> labels = 4;
    • getTableSpecsCount

      public int getTableSpecsCount()
      Description copied from interface: DatasetOrBuilder
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableSpecsCount in interface DatasetOrBuilder
    • containsTableSpecs

      public boolean containsTableSpecs(String key)
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      containsTableSpecs in interface DatasetOrBuilder
    • getTableSpecs

      @Deprecated public Map<String,String> getTableSpecs()
      Deprecated.
      Use getTableSpecsMap() instead.
      Specified by:
      getTableSpecs in interface DatasetOrBuilder
    • getTableSpecsMap

      public Map<String,String> getTableSpecsMap()
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableSpecsMap in interface DatasetOrBuilder
    • getTableSpecsOrDefault

      public String getTableSpecsOrDefault(String key, String defaultValue)
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableSpecsOrDefault in interface DatasetOrBuilder
    • getTableSpecsOrThrow

      public String getTableSpecsOrThrow(String key)
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableSpecsOrThrow in interface DatasetOrBuilder
    • clearTableSpecs

      public Dataset.Builder clearTableSpecs()
    • removeTableSpecs

      public Dataset.Builder removeTableSpecs(String key)
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
    • getMutableTableSpecs

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

      public Dataset.Builder putTableSpecs(String key, String value)
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
    • putAllTableSpecs

      public Dataset.Builder putAllTableSpecs(Map<String,String> values)
       Required. The set of BigQuery tables in the dataset.  The key should be the
       table type and the value should be the BigQuery tables in the format
       `bq://{project}.{dataset}.{table}`.
       Current table types are:
      
       * `party`
       * `account_party_link`
       * `transaction`
       * `risk_case_event`
       * `party_supplementary_data`
       
      map<string, string> table_specs = 5 [(.google.api.field_behavior) = REQUIRED];
    • getStateValue

      public int getStateValue()
       Output only. State of the dataset (creating, active, deleting, etc.)
       
      .google.cloud.financialservices.v1.Dataset.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface DatasetOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Dataset.Builder setStateValue(int value)
       Output only. State of the dataset (creating, active, deleting, etc.)
       
      .google.cloud.financialservices.v1.Dataset.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Dataset.State getState()
       Output only. State of the dataset (creating, active, deleting, etc.)
       
      .google.cloud.financialservices.v1.Dataset.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface DatasetOrBuilder
      Returns:
      The state.
    • setState

      public Dataset.Builder setState(Dataset.State value)
       Output only. State of the dataset (creating, active, deleting, etc.)
       
      .google.cloud.financialservices.v1.Dataset.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Dataset.Builder clearState()
       Output only. State of the dataset (creating, active, deleting, etc.)
       
      .google.cloud.financialservices.v1.Dataset.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasDateRange

      public boolean hasDateRange()
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDateRange in interface DatasetOrBuilder
      Returns:
      Whether the dateRange field is set.
    • getDateRange

      public Interval getDateRange()
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDateRange in interface DatasetOrBuilder
      Returns:
      The dateRange.
    • setDateRange

      public Dataset.Builder setDateRange(Interval value)
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
    • setDateRange

      public Dataset.Builder setDateRange(Interval.Builder builderForValue)
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
    • mergeDateRange

      public Dataset.Builder mergeDateRange(Interval value)
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
    • clearDateRange

      public Dataset.Builder clearDateRange()
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDateRangeBuilder

      public Interval.Builder getDateRangeBuilder()
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
    • getDateRangeOrBuilder

      public IntervalOrBuilder getDateRangeOrBuilder()
       Required. Core time window of the dataset. All tables should have complete
       data covering this period.
       
      .google.type.Interval date_range = 8 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDateRangeOrBuilder in interface DatasetOrBuilder
    • hasTimeZone

      public boolean hasTimeZone()
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
      Specified by:
      hasTimeZone in interface DatasetOrBuilder
      Returns:
      Whether the timeZone field is set.
    • getTimeZone

      public TimeZone getTimeZone()
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
      Specified by:
      getTimeZone in interface DatasetOrBuilder
      Returns:
      The timeZone.
    • setTimeZone

      public Dataset.Builder setTimeZone(TimeZone value)
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
    • setTimeZone

      public Dataset.Builder setTimeZone(TimeZone.Builder builderForValue)
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
    • mergeTimeZone

      public Dataset.Builder mergeTimeZone(TimeZone value)
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
    • clearTimeZone

      public Dataset.Builder clearTimeZone()
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
    • getTimeZoneBuilder

      public TimeZone.Builder getTimeZoneBuilder()
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
    • getTimeZoneOrBuilder

      public TimeZoneOrBuilder getTimeZoneOrBuilder()
       The timezone of the data, default will act as UTC.
       
      .google.type.TimeZone time_zone = 9;
      Specified by:
      getTimeZoneOrBuilder in interface DatasetOrBuilder