public static final class CreateDatasetRequest.Builder extends GeneratedMessageV3.Builder<CreateDatasetRequest.Builder> implements CreateDatasetRequestOrBuilder
Request message for AutoMl.CreateDataset.
Protobuf type google.cloud.automl.v1beta1.CreateDatasetRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDatasetRequest build()
buildPartial()
public CreateDatasetRequest buildPartial()
clear()
public CreateDatasetRequest.Builder clear()
Overrides
clearDataset()
public CreateDatasetRequest.Builder clearDataset()
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateDatasetRequest.Builder clearParent()
Required. The resource name of the project to create the dataset for.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateDatasetRequest.Builder clone()
Overrides
getDataset()
public Dataset getDataset()
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Dataset | The dataset.
|
getDatasetBuilder()
public Dataset.Builder getDatasetBuilder()
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
getDatasetOrBuilder()
public DatasetOrBuilder getDatasetOrBuilder()
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateDatasetRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The resource name of the project to create the dataset for.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The resource name of the project to create the dataset for.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasDataset()
public boolean hasDataset()
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the dataset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDataset(Dataset value)
public CreateDatasetRequest.Builder mergeDataset(Dataset value)
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Dataset
|
mergeFrom(CreateDatasetRequest other)
public CreateDatasetRequest.Builder mergeFrom(CreateDatasetRequest other)
public CreateDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDatasetRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDataset(Dataset value)
public CreateDatasetRequest.Builder setDataset(Dataset value)
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Dataset
|
setDataset(Dataset.Builder builderForValue)
public CreateDatasetRequest.Builder setDataset(Dataset.Builder builderForValue)
Required. The dataset to create.
.google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateDatasetRequest.Builder setParent(String value)
Required. The resource name of the project to create the dataset for.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateDatasetRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the project to create the dataset for.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides