public static final class SourceGcsBucket.Builder extends GeneratedMessageV3.Builder<SourceGcsBucket.Builder> implements SourceGcsBucketOrBuilder
Cloud Storage as the source of a data transfer.
Protobuf type google.cloud.parallelstore.v1beta.SourceGcsBucket
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 SourceGcsBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SourceGcsBucket build()
buildPartial()
public SourceGcsBucket buildPartial()
clear()
public SourceGcsBucket.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceGcsBucket.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceGcsBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUri()
public SourceGcsBucket.Builder clearUri()
Required. URI to a Cloud Storage bucket in the format:
gs://<bucket_name>/<path_inside_bucket>
. The path inside the bucket is
optional.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public SourceGcsBucket.Builder clone()
Overrides
getDefaultInstanceForType()
public SourceGcsBucket getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUri()
Required. URI to a Cloud Storage bucket in the format:
gs://<bucket_name>/<path_inside_bucket>
. The path inside the bucket is
optional.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The uri.
|
getUriBytes()
public ByteString getUriBytes()
Required. URI to a Cloud Storage bucket in the format:
gs://<bucket_name>/<path_inside_bucket>
. The path inside the bucket is
optional.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for uri.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SourceGcsBucket other)
public SourceGcsBucket.Builder mergeFrom(SourceGcsBucket other)
public SourceGcsBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceGcsBucket.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceGcsBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceGcsBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceGcsBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceGcsBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUri(String value)
public SourceGcsBucket.Builder setUri(String value)
Required. URI to a Cloud Storage bucket in the format:
gs://<bucket_name>/<path_inside_bucket>
. The path inside the bucket is
optional.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The uri to set.
|
setUriBytes(ByteString value)
public SourceGcsBucket.Builder setUriBytes(ByteString value)
Required. URI to a Cloud Storage bucket in the format:
gs://<bucket_name>/<path_inside_bucket>
. The path inside the bucket is
optional.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for uri to set.
|