public static final class GcsInputSource.Builder extends GeneratedMessageV3.Builder<GcsInputSource.Builder> implements GcsInputSourceOrBuilder
The Google Cloud Storage location for the input content.
Protobuf type google.cloud.translation.v3.GcsInputSource
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public GcsInputSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GcsInputSource build()
public GcsInputSource buildPartial()
public GcsInputSource.Builder clear()
Overrides
public GcsInputSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public GcsInputSource.Builder clearInputUri()
Required. Source data URI. For example, gs://my_bucket/my_object
.
string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];
public GcsInputSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public GcsInputSource.Builder clone()
Overrides
public GcsInputSource getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getInputUri()
Required. Source data URI. For example, gs://my_bucket/my_object
.
string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The inputUri.
|
public ByteString getInputUriBytes()
Required. Source data URI. For example, gs://my_bucket/my_object
.
string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for inputUri.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public GcsInputSource.Builder mergeFrom(GcsInputSource other)
public GcsInputSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public GcsInputSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final GcsInputSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public GcsInputSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public GcsInputSource.Builder setInputUri(String value)
Required. Source data URI. For example, gs://my_bucket/my_object
.
string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The inputUri to set.
|
public GcsInputSource.Builder setInputUriBytes(ByteString value)
Required. Source data URI. For example, gs://my_bucket/my_object
.
string input_uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for inputUri to set.
|
public GcsInputSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final GcsInputSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides