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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Required.Output only.Output only.The timezone of the data, default will act as UTC.Output only.booleancontainsLabels(String key) LabelsbooleancontainsTableSpecs(String key) Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intLabelsLabelsgetLabelsOrDefault(String key, String defaultValue) LabelsgetLabelsOrThrow(String key) LabelsDeprecated.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.Deprecated.intRequired.Required.getTableSpecsOrDefault(String key, String defaultValue) Required.Required.The timezone of the data, default will act as UTC.The timezone of the data, default will act as UTC.The timezone of the data, default will act as UTC.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanThe timezone of the data, default will act as UTC.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDateRange(Interval value) Required.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTimeZone(TimeZone value) The timezone of the data, default will act as UTC.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) LabelsputAllTableSpecs(Map<String, String> values) Required.LabelsputTableSpecs(String key, String value) Required.removeLabels(String key) LabelsremoveTableSpecs(String key) Required.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDateRange(Interval value) Required.setDateRange(Interval.Builder builderForValue) Required.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setState(Dataset.State value) Output only.setStateValue(int value) Output only.setTimeZone(TimeZone value) The timezone of the data, default will act as UTC.setTimeZone(TimeZone.Builder builderForValue) The timezone of the data, default will act as UTC.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Dataset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Dataset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Dataset.Builder>- Throws:
IOException
-
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:
getNamein interfaceDatasetOrBuilder- 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:
getNameBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
hasCreateTimein interfaceDatasetOrBuilder- 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:
getCreateTimein interfaceDatasetOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp of creation of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceDatasetOrBuilder
-
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:
hasUpdateTimein interfaceDatasetOrBuilder- 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:
getUpdateTimein interfaceDatasetOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
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
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
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
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:
getUpdateTimeOrBuilderin interfaceDatasetOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:DatasetOrBuilderLabels
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceDatasetOrBuilder
-
containsLabels
Labels
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceDatasetOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDatasetOrBuilder
-
getLabelsMap
Labels
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceDatasetOrBuilder
-
getLabelsOrDefault
Labels
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceDatasetOrBuilder
-
getLabelsOrThrow
Labels
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceDatasetOrBuilder
-
clearLabels
-
removeLabels
Labels
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels
map<string, string> labels = 4; -
putAllLabels
Labels
map<string, string> labels = 4; -
getTableSpecsCount
public int getTableSpecsCount()Description copied from interface:DatasetOrBuilderRequired. 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:
getTableSpecsCountin interfaceDatasetOrBuilder
-
containsTableSpecs
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:
containsTableSpecsin interfaceDatasetOrBuilder
-
getTableSpecs
Deprecated.UsegetTableSpecsMap()instead.- Specified by:
getTableSpecsin interfaceDatasetOrBuilder
-
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:
getTableSpecsMapin interfaceDatasetOrBuilder
-
getTableSpecsOrDefault
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:
getTableSpecsOrDefaultin interfaceDatasetOrBuilder
-
getTableSpecsOrThrow
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:
getTableSpecsOrThrowin interfaceDatasetOrBuilder
-
clearTableSpecs
-
removeTableSpecs
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.Use alternate mutation accessors instead. -
putTableSpecs
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
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:
getStateValuein interfaceDatasetOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
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:
getStatein interfaceDatasetOrBuilder- Returns:
- The state.
-
setState
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
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:
hasDateRangein interfaceDatasetOrBuilder- Returns:
- Whether the dateRange field is set.
-
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:
getDateRangein interfaceDatasetOrBuilder- Returns:
- The dateRange.
-
setDateRange
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
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
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
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
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
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:
getDateRangeOrBuilderin interfaceDatasetOrBuilder
-
hasTimeZone
public boolean hasTimeZone()The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9;- Specified by:
hasTimeZonein interfaceDatasetOrBuilder- Returns:
- Whether the timeZone field is set.
-
getTimeZone
The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9;- Specified by:
getTimeZonein interfaceDatasetOrBuilder- Returns:
- The timeZone.
-
setTimeZone
The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9; -
setTimeZone
The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9; -
mergeTimeZone
The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9; -
clearTimeZone
The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9; -
getTimeZoneBuilder
The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9; -
getTimeZoneOrBuilder
The timezone of the data, default will act as UTC.
.google.type.TimeZone time_zone = 9;- Specified by:
getTimeZoneOrBuilderin interfaceDatasetOrBuilder
-