public static final class RenameFolderMetadata.Builder extends GeneratedMessageV3.Builder<RenameFolderMetadata.Builder> implements RenameFolderMetadataOrBuilder
Message returned in the metadata field of the Operation resource for
RenameFolder operations.
Protobuf type google.storage.control.v2.RenameFolderMetadata
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 RenameFolderMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RenameFolderMetadata build()
public RenameFolderMetadata buildPartial()
public RenameFolderMetadata.Builder clear()
Overrides
public RenameFolderMetadata.Builder clearCommonMetadata()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
public RenameFolderMetadata.Builder clearDestinationFolderId()
The path of the destination folder.
string destination_folder_id = 3;
public RenameFolderMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RenameFolderMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RenameFolderMetadata.Builder clearSourceFolderId()
The path of the source folder.
string source_folder_id = 2;
public RenameFolderMetadata.Builder clone()
Overrides
public CommonLongRunningOperationMetadata getCommonMetadata()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
public CommonLongRunningOperationMetadata.Builder getCommonMetadataBuilder()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
public CommonLongRunningOperationMetadataOrBuilder getCommonMetadataOrBuilder()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
public RenameFolderMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getDestinationFolderId()
The path of the destination folder.
string destination_folder_id = 3;
Returns |
Type |
Description |
String |
The destinationFolderId.
|
public ByteString getDestinationFolderIdBytes()
The path of the destination folder.
string destination_folder_id = 3;
Returns |
Type |
Description |
ByteString |
The bytes for destinationFolderId.
|
public String getSourceFolderId()
The path of the source folder.
string source_folder_id = 2;
Returns |
Type |
Description |
String |
The sourceFolderId.
|
public ByteString getSourceFolderIdBytes()
The path of the source folder.
string source_folder_id = 2;
Returns |
Type |
Description |
ByteString |
The bytes for sourceFolderId.
|
public boolean hasCommonMetadata()
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
Returns |
Type |
Description |
boolean |
Whether the commonMetadata field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RenameFolderMetadata.Builder mergeCommonMetadata(CommonLongRunningOperationMetadata value)
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
public RenameFolderMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RenameFolderMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public RenameFolderMetadata.Builder mergeFrom(RenameFolderMetadata other)
public final RenameFolderMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RenameFolderMetadata.Builder setCommonMetadata(CommonLongRunningOperationMetadata value)
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
public RenameFolderMetadata.Builder setCommonMetadata(CommonLongRunningOperationMetadata.Builder builderForValue)
Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
public RenameFolderMetadata.Builder setDestinationFolderId(String value)
The path of the destination folder.
string destination_folder_id = 3;
Parameter |
Name |
Description |
value |
String
The destinationFolderId to set.
|
public RenameFolderMetadata.Builder setDestinationFolderIdBytes(ByteString value)
The path of the destination folder.
string destination_folder_id = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for destinationFolderId to set.
|
public RenameFolderMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RenameFolderMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public RenameFolderMetadata.Builder setSourceFolderId(String value)
The path of the source folder.
string source_folder_id = 2;
Parameter |
Name |
Description |
value |
String
The sourceFolderId to set.
|
public RenameFolderMetadata.Builder setSourceFolderIdBytes(ByteString value)
The path of the source folder.
string source_folder_id = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for sourceFolderId to set.
|
public final RenameFolderMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides