public static final class CreateDatasetRequest.Builder extends GeneratedMessageV3.Builder<CreateDatasetRequest.Builder> implements CreateDatasetRequestOrBuilder
Request message for AutoMl.CreateDataset.
Protobuf type google.cloud.automl.v1.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateDatasetRequest build()
Returns
buildPartial()
public CreateDatasetRequest buildPartial()
Returns
clear()
public CreateDatasetRequest.Builder clear()
Returns
Overrides
clearDataset()
public CreateDatasetRequest.Builder clearDataset()
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
clone()
public CreateDatasetRequest.Builder clone()
Returns
Overrides
getDataset()
public Dataset getDataset()
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatasetBuilder()
public Dataset.Builder getDatasetBuilder()
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatasetOrBuilder()
public DatasetOrBuilder getDatasetOrBuilder()
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateDatasetRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
hasDataset()
public boolean hasDataset()
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the dataset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDataset(Dataset value)
public CreateDatasetRequest.Builder mergeDataset(Dataset value)
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateDatasetRequest other)
public CreateDatasetRequest.Builder mergeFrom(CreateDatasetRequest other)
Parameter
Returns
public CreateDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateDatasetRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDataset(Dataset value)
public CreateDatasetRequest.Builder setDataset(Dataset value)
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDataset(Dataset.Builder builderForValue)
public CreateDatasetRequest.Builder setDataset(Dataset.Builder builderForValue)
Required. The dataset to create.
.google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides