public static final class ExportDataRequest.Builder extends GeneratedMessageV3.Builder<ExportDataRequest.Builder> implements ExportDataRequestOrBuilder
Request message for ExportData.
Protobuf type google.cloud.translation.v3.ExportDataRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 ExportDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExportDataRequest build()
buildPartial()
public ExportDataRequest buildPartial()
clear()
public ExportDataRequest.Builder clear()
Overrides
clearDataset()
public ExportDataRequest.Builder clearDataset()
Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ExportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOutputConfig()
public ExportDataRequest.Builder clearOutputConfig()
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public ExportDataRequest.Builder clone()
Overrides
getDataset()
public String getDataset()
Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The dataset.
|
getDatasetBytes()
public ByteString getDatasetBytes()
Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for dataset.
|
getDefaultInstanceForType()
public ExportDataRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOutputConfig()
public DatasetOutputConfig getOutputConfig()
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
getOutputConfigBuilder()
public DatasetOutputConfig.Builder getOutputConfigBuilder()
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
getOutputConfigOrBuilder()
public DatasetOutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasOutputConfig()
public boolean hasOutputConfig()
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the outputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExportDataRequest other)
public ExportDataRequest.Builder mergeFrom(ExportDataRequest other)
public ExportDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExportDataRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeOutputConfig(DatasetOutputConfig value)
public ExportDataRequest.Builder mergeOutputConfig(DatasetOutputConfig value)
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDataset(String value)
public ExportDataRequest.Builder setDataset(String value)
Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The dataset to set.
|
setDatasetBytes(ByteString value)
public ExportDataRequest.Builder setDatasetBytes(ByteString value)
Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for dataset to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOutputConfig(DatasetOutputConfig value)
public ExportDataRequest.Builder setOutputConfig(DatasetOutputConfig value)
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
setOutputConfig(DatasetOutputConfig.Builder builderForValue)
public ExportDataRequest.Builder setOutputConfig(DatasetOutputConfig.Builder builderForValue)
Required. The config for the output content.
.google.cloud.translation.v3.DatasetOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides