Class Dataset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
- com.google.cloud.datalabeling.v1beta1.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.GeneratedMessageV3.Builder<Dataset.Builder> implements DatasetOrBuilder
Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.
Protobuf typegoogle.cloud.datalabeling.v1beta1.Dataset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Dataset.Builder
addAllBlockingResources(Iterable<String> values)
Output only.Dataset.Builder
addAllInputConfigs(Iterable<? extends InputConfig> values)
Output only.Dataset.Builder
addBlockingResources(String value)
Output only.Dataset.Builder
addBlockingResourcesBytes(com.google.protobuf.ByteString value)
Output only.Dataset.Builder
addInputConfigs(int index, InputConfig value)
Output only.Dataset.Builder
addInputConfigs(int index, InputConfig.Builder builderForValue)
Output only.Dataset.Builder
addInputConfigs(InputConfig value)
Output only.Dataset.Builder
addInputConfigs(InputConfig.Builder builderForValue)
Output only.InputConfig.Builder
addInputConfigsBuilder()
Output only.InputConfig.Builder
addInputConfigsBuilder(int index)
Output only.Dataset.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Dataset
build()
Dataset
buildPartial()
Dataset.Builder
clear()
Dataset.Builder
clearBlockingResources()
Output only.Dataset.Builder
clearCreateTime()
Output only.Dataset.Builder
clearDataItemCount()
Output only.Dataset.Builder
clearDescription()
Optional.Dataset.Builder
clearDisplayName()
Required.Dataset.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Dataset.Builder
clearInputConfigs()
Output only.Dataset.Builder
clearName()
Output only.Dataset.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Dataset.Builder
clone()
String
getBlockingResources(int index)
Output only.com.google.protobuf.ByteString
getBlockingResourcesBytes(int index)
Output only.int
getBlockingResourcesCount()
Output only.com.google.protobuf.ProtocolStringList
getBlockingResourcesList()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.long
getDataItemCount()
Output only.Dataset
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.InputConfig
getInputConfigs(int index)
Output only.InputConfig.Builder
getInputConfigsBuilder(int index)
Output only.List<InputConfig.Builder>
getInputConfigsBuilderList()
Output only.int
getInputConfigsCount()
Output only.List<InputConfig>
getInputConfigsList()
Output only.InputConfigOrBuilder
getInputConfigsOrBuilder(int index)
Output only.List<? extends InputConfigOrBuilder>
getInputConfigsOrBuilderList()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.boolean
hasCreateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Dataset.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Dataset.Builder
mergeFrom(Dataset other)
Dataset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Dataset.Builder
mergeFrom(com.google.protobuf.Message other)
Dataset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Dataset.Builder
removeInputConfigs(int index)
Output only.Dataset.Builder
setBlockingResources(int index, String value)
Output only.Dataset.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Dataset.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Dataset.Builder
setDataItemCount(long value)
Output only.Dataset.Builder
setDescription(String value)
Optional.Dataset.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.Dataset.Builder
setDisplayName(String value)
Required.Dataset.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.Dataset.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Dataset.Builder
setInputConfigs(int index, InputConfig value)
Output only.Dataset.Builder
setInputConfigs(int index, InputConfig.Builder builderForValue)
Output only.Dataset.Builder
setName(String value)
Output only.Dataset.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Dataset.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Dataset.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
clear
public Dataset.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
getDefaultInstanceForType
public Dataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Dataset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Dataset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Dataset.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
setField
public Dataset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
clearField
public Dataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
clearOneof
public Dataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
setRepeatedField
public Dataset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
addRepeatedField
public Dataset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
mergeFrom
public Dataset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Dataset.Builder>
-
mergeFrom
public Dataset.Builder mergeFrom(Dataset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
mergeFrom
public Dataset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Dataset.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
- Specified by:
getName
in interfaceDatasetOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
- Specified by:
getNameBytes
in interfaceDatasetOrBuilder
- Returns:
- The bytes for name.
-
setName
public Dataset.Builder setName(String value)
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Dataset.Builder clearName()
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Dataset.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceDatasetOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in interfaceDatasetOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Dataset.Builder setDisplayName(String value)
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Dataset.Builder clearDisplayName()
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Dataset.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The display name of the dataset. Maximum of 64 characters.
string display_name = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
- Specified by:
getDescription
in interfaceDatasetOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceDatasetOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Dataset.Builder setDescription(String value)
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Dataset.Builder clearDescription()
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Dataset.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.
string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
- Specified by:
hasCreateTime
in interfaceDatasetOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
- Specified by:
getCreateTime
in interfaceDatasetOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Dataset.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
-
setCreateTime
public Dataset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
-
mergeCreateTime
public Dataset.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
-
clearCreateTime
public Dataset.Builder clearCreateTime()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the dataset is created.
.google.protobuf.Timestamp create_time = 4;
- Specified by:
getCreateTimeOrBuilder
in interfaceDatasetOrBuilder
-
getInputConfigsList
public List<InputConfig> getInputConfigsList()
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
- Specified by:
getInputConfigsList
in interfaceDatasetOrBuilder
-
getInputConfigsCount
public int getInputConfigsCount()
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
- Specified by:
getInputConfigsCount
in interfaceDatasetOrBuilder
-
getInputConfigs
public InputConfig getInputConfigs(int index)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
- Specified by:
getInputConfigs
in interfaceDatasetOrBuilder
-
setInputConfigs
public Dataset.Builder setInputConfigs(int index, InputConfig value)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
setInputConfigs
public Dataset.Builder setInputConfigs(int index, InputConfig.Builder builderForValue)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
addInputConfigs
public Dataset.Builder addInputConfigs(InputConfig value)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
addInputConfigs
public Dataset.Builder addInputConfigs(int index, InputConfig value)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
addInputConfigs
public Dataset.Builder addInputConfigs(InputConfig.Builder builderForValue)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
addInputConfigs
public Dataset.Builder addInputConfigs(int index, InputConfig.Builder builderForValue)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
addAllInputConfigs
public Dataset.Builder addAllInputConfigs(Iterable<? extends InputConfig> values)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
clearInputConfigs
public Dataset.Builder clearInputConfigs()
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
removeInputConfigs
public Dataset.Builder removeInputConfigs(int index)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
getInputConfigsBuilder
public InputConfig.Builder getInputConfigsBuilder(int index)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
getInputConfigsOrBuilder
public InputConfigOrBuilder getInputConfigsOrBuilder(int index)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
- Specified by:
getInputConfigsOrBuilder
in interfaceDatasetOrBuilder
-
getInputConfigsOrBuilderList
public List<? extends InputConfigOrBuilder> getInputConfigsOrBuilderList()
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
- Specified by:
getInputConfigsOrBuilderList
in interfaceDatasetOrBuilder
-
addInputConfigsBuilder
public InputConfig.Builder addInputConfigsBuilder()
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
addInputConfigsBuilder
public InputConfig.Builder addInputConfigsBuilder(int index)
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
getInputConfigsBuilderList
public List<InputConfig.Builder> getInputConfigsBuilderList()
Output only. This is populated with the original input configs where ImportData is called. It is available only after the clients import data to this dataset.
repeated .google.cloud.datalabeling.v1beta1.InputConfig input_configs = 5;
-
getBlockingResourcesList
public com.google.protobuf.ProtocolStringList getBlockingResourcesList()
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Specified by:
getBlockingResourcesList
in interfaceDatasetOrBuilder
- Returns:
- A list containing the blockingResources.
-
getBlockingResourcesCount
public int getBlockingResourcesCount()
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Specified by:
getBlockingResourcesCount
in interfaceDatasetOrBuilder
- Returns:
- The count of blockingResources.
-
getBlockingResources
public String getBlockingResources(int index)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Specified by:
getBlockingResources
in interfaceDatasetOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The blockingResources at the given index.
-
getBlockingResourcesBytes
public com.google.protobuf.ByteString getBlockingResourcesBytes(int index)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Specified by:
getBlockingResourcesBytes
in interfaceDatasetOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the blockingResources at the given index.
-
setBlockingResources
public Dataset.Builder setBlockingResources(int index, String value)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Parameters:
index
- The index to set the value at.value
- The blockingResources to set.- Returns:
- This builder for chaining.
-
addBlockingResources
public Dataset.Builder addBlockingResources(String value)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Parameters:
value
- The blockingResources to add.- Returns:
- This builder for chaining.
-
addAllBlockingResources
public Dataset.Builder addAllBlockingResources(Iterable<String> values)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Parameters:
values
- The blockingResources to add.- Returns:
- This builder for chaining.
-
clearBlockingResources
public Dataset.Builder clearBlockingResources()
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Returns:
- This builder for chaining.
-
addBlockingResourcesBytes
public Dataset.Builder addBlockingResourcesBytes(com.google.protobuf.ByteString value)
Output only. The names of any related resources that are blocking changes to the dataset.
repeated string blocking_resources = 6;
- Parameters:
value
- The bytes of the blockingResources to add.- Returns:
- This builder for chaining.
-
getDataItemCount
public long getDataItemCount()
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
- Specified by:
getDataItemCount
in interfaceDatasetOrBuilder
- Returns:
- The dataItemCount.
-
setDataItemCount
public Dataset.Builder setDataItemCount(long value)
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
- Parameters:
value
- The dataItemCount to set.- Returns:
- This builder for chaining.
-
clearDataItemCount
public Dataset.Builder clearDataItemCount()
Output only. The number of data items in the dataset.
int64 data_item_count = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Dataset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
mergeUnknownFields
public final Dataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
-