Class RenameFolderMetadata (2.43.1)

public final class RenameFolderMetadata extends GeneratedMessageV3 implements RenameFolderMetadataOrBuilder

Message returned in the metadata field of the Operation resource for RenameFolder operations.

Protobuf type google.storage.control.v2.RenameFolderMetadata

Static Fields

COMMON_METADATA_FIELD_NUMBER

public static final int COMMON_METADATA_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_FOLDER_ID_FIELD_NUMBER

public static final int DESTINATION_FOLDER_ID_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FOLDER_ID_FIELD_NUMBER

public static final int SOURCE_FOLDER_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RenameFolderMetadata getDefaultInstance()
Returns
Type Description
RenameFolderMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RenameFolderMetadata.Builder newBuilder()
Returns
Type Description
RenameFolderMetadata.Builder

newBuilder(RenameFolderMetadata prototype)

public static RenameFolderMetadata.Builder newBuilder(RenameFolderMetadata prototype)
Parameter
Name Description
prototype RenameFolderMetadata
Returns
Type Description
RenameFolderMetadata.Builder

parseDelimitedFrom(InputStream input)

public static RenameFolderMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenameFolderMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RenameFolderMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RenameFolderMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RenameFolderMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RenameFolderMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RenameFolderMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RenameFolderMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RenameFolderMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RenameFolderMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RenameFolderMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RenameFolderMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RenameFolderMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RenameFolderMetadata> parser()
Returns
Type Description
Parser<RenameFolderMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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.

getParserForType()

public Parser<RenameFolderMetadata> getParserForType()
Returns
Type Description
Parser<RenameFolderMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RenameFolderMetadata.Builder newBuilderForType()
Returns
Type Description
RenameFolderMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RenameFolderMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RenameFolderMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RenameFolderMetadata.Builder toBuilder()
Returns
Type Description
RenameFolderMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException