public static final class RenameFolderMetadata.Builder extends GeneratedMessage.Builder<RenameFolderMetadata.Builder> implements RenameFolderMetadataOrBuilderMessage returned in the metadata field of the Operation resource for RenameFolder operations.
Protobuf type google.storage.control.v2.RenameFolderMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RenameFolderMetadata.BuilderImplements
RenameFolderMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RenameFolderMetadata build()| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata |
|
buildPartial()
public RenameFolderMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata |
|
clear()
public RenameFolderMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
clearCommonMetadata()
public RenameFolderMetadata.Builder clearCommonMetadata()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
clearDestinationFolderId()
public RenameFolderMetadata.Builder clearDestinationFolderId()The path of the destination folder.
string destination_folder_id = 3;
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
This builder for chaining. |
clearSourceFolderId()
public RenameFolderMetadata.Builder clearSourceFolderId()The path of the source folder.
string source_folder_id = 2;
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
This builder for chaining. |
getCommonMetadata()
public CommonLongRunningOperationMetadata getCommonMetadata()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
CommonLongRunningOperationMetadata |
The commonMetadata. |
getCommonMetadataBuilder()
public CommonLongRunningOperationMetadata.Builder getCommonMetadataBuilder()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
CommonLongRunningOperationMetadata.Builder |
|
getCommonMetadataOrBuilder()
public CommonLongRunningOperationMetadataOrBuilder getCommonMetadataOrBuilder()Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Returns | |
|---|---|
| Type | Description |
CommonLongRunningOperationMetadataOrBuilder |
|
getDefaultInstanceForType()
public RenameFolderMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationFolderId()
public String getDestinationFolderId()The path of the destination folder.
string destination_folder_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The destinationFolderId. |
getDestinationFolderIdBytes()
public ByteString getDestinationFolderIdBytes()The path of the destination folder.
string destination_folder_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for destinationFolderId. |
getSourceFolderId()
public String getSourceFolderId()The path of the source folder.
string source_folder_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceFolderId. |
getSourceFolderIdBytes()
public ByteString getSourceFolderIdBytes()The path of the source folder.
string source_folder_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceFolderId. |
hasCommonMetadata()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCommonMetadata(CommonLongRunningOperationMetadata value)
public RenameFolderMetadata.Builder mergeCommonMetadata(CommonLongRunningOperationMetadata value)Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
CommonLongRunningOperationMetadata |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RenameFolderMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RenameFolderMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
mergeFrom(RenameFolderMetadata other)
public RenameFolderMetadata.Builder mergeFrom(RenameFolderMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
RenameFolderMetadata |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
setCommonMetadata(CommonLongRunningOperationMetadata value)
public RenameFolderMetadata.Builder setCommonMetadata(CommonLongRunningOperationMetadata value)Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
CommonLongRunningOperationMetadata |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
setCommonMetadata(CommonLongRunningOperationMetadata.Builder builderForValue)
public RenameFolderMetadata.Builder setCommonMetadata(CommonLongRunningOperationMetadata.Builder builderForValue)Generic metadata for the long running operation.
.google.storage.control.v2.CommonLongRunningOperationMetadata common_metadata = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CommonLongRunningOperationMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
|
setDestinationFolderId(String value)
public RenameFolderMetadata.Builder setDestinationFolderId(String value)The path of the destination folder.
string destination_folder_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destinationFolderId to set. |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
This builder for chaining. |
setDestinationFolderIdBytes(ByteString value)
public RenameFolderMetadata.Builder setDestinationFolderIdBytes(ByteString value)The path of the destination folder.
string destination_folder_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationFolderId to set. |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
This builder for chaining. |
setSourceFolderId(String value)
public RenameFolderMetadata.Builder setSourceFolderId(String value)The path of the source folder.
string source_folder_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceFolderId to set. |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
This builder for chaining. |
setSourceFolderIdBytes(ByteString value)
public RenameFolderMetadata.Builder setSourceFolderIdBytes(ByteString value)The path of the source folder.
string source_folder_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceFolderId to set. |
| Returns | |
|---|---|
| Type | Description |
RenameFolderMetadata.Builder |
This builder for chaining. |