public static final class ImportDataRequest.Builder extends GeneratedMessageV3.Builder<ImportDataRequest.Builder> implements ImportDataRequestOrBuilder
Request message for AutoMl.ImportData.
Protobuf type google.cloud.automl.v1.ImportDataRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportDataRequest build()
Returns
buildPartial()
public ImportDataRequest buildPartial()
Returns
clear()
public ImportDataRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportDataRequest.Builder clearInputConfig()
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearName()
public ImportDataRequest.Builder clearName()
Required. Dataset name. Dataset must already exist. All imported
annotations and examples will be added.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ImportDataRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportDataRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public InputConfig getInputConfig()
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public InputConfig.Builder getInputConfigBuilder()
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getName()
Required. Dataset name. Dataset must already exist. All imported
annotations and examples will be added.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Dataset name. Dataset must already exist. All imported
annotations and examples will be added.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public boolean hasInputConfig()
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the inputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportDataRequest other)
public ImportDataRequest.Builder mergeFrom(ImportDataRequest other)
Parameter
Returns
public ImportDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportDataRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public ImportDataRequest.Builder mergeInputConfig(InputConfig value)
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportDataRequest.Builder setInputConfig(InputConfig value)
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public ImportDataRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. The desired input location and its domain specific semantics,
if any.
.google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setName(String value)
public ImportDataRequest.Builder setName(String value)
Required. Dataset name. Dataset must already exist. All imported
annotations and examples will be added.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public ImportDataRequest.Builder setNameBytes(ByteString value)
Required. Dataset name. Dataset must already exist. All imported
annotations and examples will be added.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides