public static final class ImportDataRequest.Builder extends GeneratedMessage.Builder<ImportDataRequest.Builder> implements ImportDataRequestOrBuilderRequest message for AutoMl.ImportData.
Protobuf type google.cloud.automl.v1.ImportDataRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportDataRequest.BuilderImplements
ImportDataRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportDataRequest build()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest |
|
buildPartial()
public ImportDataRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest |
|
clear()
public ImportDataRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clearInputConfig()
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 | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ImportDataRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInputConfig()
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 | |
|---|---|
| Type | Description |
InputConfig |
The inputConfig. |
getInputConfigBuilder()
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 | |
|---|---|
| Type | Description |
InputConfig.Builder |
|
getInputConfigOrBuilder()
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 | |
|---|---|
| Type | Description |
InputConfigOrBuilder |
|
getName()
public String 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasInputConfig()
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportDataRequest other)
public ImportDataRequest.Builder mergeFrom(ImportDataRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportDataRequest |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportDataRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
mergeInputConfig(InputConfig value)
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 | |
|---|---|
| Name | Description |
value |
InputConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setInputConfig(InputConfig value)
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 | |
|---|---|
| Name | Description |
value |
InputConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setInputConfig(InputConfig.Builder builderForValue)
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 | |
|---|---|
| Name | Description |
builderForValue |
InputConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
This builder for chaining. |