Send feedback
Class RenameFolderMetadata.Builder (2.34.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.34.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]