Class Dataset.Builder (0.1.0)

public static final class Dataset.Builder extends GeneratedMessageV3.Builder<Dataset.Builder> implements DatasetOrBuilder

The Dataset resource contains summary information about a dataset.

Protobuf type google.cloud.financialservices.v1.Dataset

Implements

DatasetOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Dataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dataset.Builder
Overrides

build()

public Dataset build()
Returns
Type Description
Dataset

buildPartial()

public Dataset buildPartial()
Returns
Type Description
Dataset

clear()

public Dataset.Builder clear()
Returns
Type Description
Dataset.Builder
Overrides

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];

Returns
Type Description
Dataset.Builder

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];

Returns
Type Description
Dataset.Builder

clearField(Descriptors.FieldDescriptor field)

public Dataset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Dataset.Builder
Overrides

clearLabels()

public Dataset.Builder clearLabels()
Returns
Type Description
Dataset.Builder

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
Type Description
Dataset.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Dataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Dataset.Builder
Overrides

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
Type Description
Dataset.Builder

This builder for chaining.

clearTableSpecs()

public Dataset.Builder clearTableSpecs()
Returns
Type Description
Dataset.Builder

clearTimeZone()

public Dataset.Builder clearTimeZone()

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Returns
Type Description
Dataset.Builder

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];

Returns
Type Description
Dataset.Builder

clone()

public Dataset.Builder clone()
Returns
Type Description
Dataset.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsTableSpecs(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
com.google.type.Interval

The dateRange.

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];

Returns
Type Description
com.google.type.Interval.Builder

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];

Returns
Type Description
com.google.type.IntervalOrBuilder

getDefaultInstanceForType()

public Dataset getDefaultInstanceForType()
Returns
Type Description
Dataset

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableTableSpecs() (deprecated)

public Map<String,String> getMutableTableSpecs()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

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];

Returns
Type Description
Dataset.State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTableSpecs() (deprecated)

public Map<String,String> getTableSpecs()

Use #getTableSpecsMap() instead.

Returns
Type Description
Map<String,String>

getTableSpecsCount()

public int getTableSpecsCount()

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];

Returns
Type Description
int

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];

Returns
Type Description
Map<String,String>

getTableSpecsOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getTableSpecsOrThrow(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
String

getTimeZone()

public TimeZone getTimeZone()

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Returns
Type Description
com.google.type.TimeZone

The timeZone.

getTimeZoneBuilder()

public TimeZone.Builder getTimeZoneBuilder()

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Returns
Type Description
com.google.type.TimeZone.Builder

getTimeZoneOrBuilder()

public TimeZoneOrBuilder getTimeZoneOrBuilder()

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Returns
Type Description
com.google.type.TimeZoneOrBuilder

getUpdateTime()

public 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];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public 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];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
boolean

Whether the createTime field is set.

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];

Returns
Type Description
boolean

Whether the dateRange field is set.

hasTimeZone()

public boolean hasTimeZone()

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Returns
Type Description
boolean

Whether the timeZone field is set.

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];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Dataset.Builder mergeCreateTime(Timestamp value)

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Dataset.Builder

mergeDateRange(Interval value)

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];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
Dataset.Builder

mergeFrom(Dataset other)

public Dataset.Builder mergeFrom(Dataset other)
Parameter
Name Description
other Dataset
Returns
Type Description
Dataset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Dataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Dataset.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Dataset.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Dataset.Builder
Overrides

mergeTimeZone(TimeZone value)

public Dataset.Builder mergeTimeZone(TimeZone value)

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Parameter
Name Description
value com.google.type.TimeZone
Returns
Type Description
Dataset.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dataset.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Dataset.Builder mergeUpdateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
Dataset.Builder

putAllLabels(Map<String,String> values)

public Dataset.Builder putAllLabels(Map<String,String> values)

Labels

map<string, string> labels = 4;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Dataset.Builder

putAllTableSpecs(Map<String,String> values)

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];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Dataset.Builder

putLabels(String key, String value)

public Dataset.Builder putLabels(String key, String value)

Labels

map<string, string> labels = 4;

Parameters
Name Description
key String
value String
Returns
Type Description
Dataset.Builder

putTableSpecs(String key, String value)

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];

Parameters
Name Description
key String
value String
Returns
Type Description
Dataset.Builder

removeLabels(String key)

public Dataset.Builder removeLabels(String key)

Labels

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
Dataset.Builder

removeTableSpecs(String key)

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];

Parameter
Name Description
key String
Returns
Type Description
Dataset.Builder

setCreateTime(Timestamp value)

public Dataset.Builder setCreateTime(Timestamp value)

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Dataset.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Dataset.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The timestamp of creation of this resource.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Dataset.Builder

setDateRange(Interval value)

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];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
Dataset.Builder

setDateRange(Interval.Builder builderForValue)

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];

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
Dataset.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Dataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Dataset.Builder
Overrides

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Dataset.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Dataset.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Dataset.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Dataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Dataset.Builder
Overrides

setState(Dataset.State value)

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];

Parameter
Name Description
value Dataset.State

The state to set.

Returns
Type Description
Dataset.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Dataset.Builder

This builder for chaining.

setTimeZone(TimeZone value)

public Dataset.Builder setTimeZone(TimeZone value)

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Parameter
Name Description
value com.google.type.TimeZone
Returns
Type Description
Dataset.Builder

setTimeZone(TimeZone.Builder builderForValue)

public Dataset.Builder setTimeZone(TimeZone.Builder builderForValue)

The timezone of the data, default will act as UTC.

.google.type.TimeZone time_zone = 9;

Parameter
Name Description
builderForValue com.google.type.TimeZone.Builder
Returns
Type Description
Dataset.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Dataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Dataset.Builder
Overrides

setUpdateTime(Timestamp value)

public Dataset.Builder setUpdateTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
Dataset.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Dataset.Builder setUpdateTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Dataset.Builder