public static final class TransferTypes.TransferManifest.Builder extends GeneratedMessageV3.Builder<TransferTypes.TransferManifest.Builder> implements TransferTypes.TransferManifestOrBuilder
Specifies where the manifest is located.
Protobuf type google.storagetransfer.v1.TransferManifest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.TransferManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferTypes.TransferManifest build()
Returns
buildPartial()
public TransferTypes.TransferManifest buildPartial()
Returns
clear()
public TransferTypes.TransferManifest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.TransferManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLocation()
public TransferTypes.TransferManifest.Builder clearLocation()
Specifies the path to the manifest in Cloud Storage. The Google-managed
service account for the transfer must have storage.objects.get
permission for this object. An example path is
gs://bucket_name/path/manifest.csv
.
string location = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.TransferManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TransferTypes.TransferManifest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferTypes.TransferManifest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLocation()
public String getLocation()
Specifies the path to the manifest in Cloud Storage. The Google-managed
service account for the transfer must have storage.objects.get
permission for this object. An example path is
gs://bucket_name/path/manifest.csv
.
string location = 1;
Returns
Type |
Description |
String |
The location.
|
getLocationBytes()
public ByteString getLocationBytes()
Specifies the path to the manifest in Cloud Storage. The Google-managed
service account for the transfer must have storage.objects.get
permission for this object. An example path is
gs://bucket_name/path/manifest.csv
.
string location = 1;
Returns
Type |
Description |
ByteString |
The bytes for location.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public TransferTypes.TransferManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferTypes.TransferManifest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferTypes.TransferManifest other)
public TransferTypes.TransferManifest.Builder mergeFrom(TransferTypes.TransferManifest other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.TransferManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.TransferManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLocation(String value)
public TransferTypes.TransferManifest.Builder setLocation(String value)
Specifies the path to the manifest in Cloud Storage. The Google-managed
service account for the transfer must have storage.objects.get
permission for this object. An example path is
gs://bucket_name/path/manifest.csv
.
string location = 1;
Parameter
Name |
Description |
value |
String
The location to set.
|
Returns
setLocationBytes(ByteString value)
public TransferTypes.TransferManifest.Builder setLocationBytes(ByteString value)
Specifies the path to the manifest in Cloud Storage. The Google-managed
service account for the transfer must have storage.objects.get
permission for this object. An example path is
gs://bucket_name/path/manifest.csv
.
string location = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for location to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.TransferManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.TransferManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides