Class MoveFolderMetadata (1.11.0)

public final class MoveFolderMetadata extends GeneratedMessageV3 implements MoveFolderMetadataOrBuilder

Metadata pertaining to the folder move process.

Protobuf type google.cloud.resourcemanager.v3.MoveFolderMetadata

Static Fields

DESTINATION_PARENT_FIELD_NUMBER

public static final int DESTINATION_PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_PARENT_FIELD_NUMBER

public static final int SOURCE_PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MoveFolderMetadata getDefaultInstance()
Returns
TypeDescription
MoveFolderMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MoveFolderMetadata.Builder newBuilder()
Returns
TypeDescription
MoveFolderMetadata.Builder

newBuilder(MoveFolderMetadata prototype)

public static MoveFolderMetadata.Builder newBuilder(MoveFolderMetadata prototype)
Parameter
NameDescription
prototypeMoveFolderMetadata
Returns
TypeDescription
MoveFolderMetadata.Builder

parseDelimitedFrom(InputStream input)

public static MoveFolderMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveFolderMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MoveFolderMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MoveFolderMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MoveFolderMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MoveFolderMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MoveFolderMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveFolderMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MoveFolderMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveFolderMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MoveFolderMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MoveFolderMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFolderMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MoveFolderMetadata> parser()
Returns
TypeDescription
Parser<MoveFolderMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MoveFolderMetadata getDefaultInstanceForType()
Returns
TypeDescription
MoveFolderMetadata

getDestinationParent()

public String getDestinationParent()

The resource name of the folder or organization to move the folder to.

string destination_parent = 3;

Returns
TypeDescription
String

The destinationParent.

getDestinationParentBytes()

public ByteString getDestinationParentBytes()

The resource name of the folder or organization to move the folder to.

string destination_parent = 3;

Returns
TypeDescription
ByteString

The bytes for destinationParent.

getDisplayName()

public String getDisplayName()

The display name of the folder.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the folder.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getParserForType()

public Parser<MoveFolderMetadata> getParserForType()
Returns
TypeDescription
Parser<MoveFolderMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceParent()

public String getSourceParent()

The resource name of the folder's parent.

string source_parent = 2;

Returns
TypeDescription
String

The sourceParent.

getSourceParentBytes()

public ByteString getSourceParentBytes()

The resource name of the folder's parent.

string source_parent = 2;

Returns
TypeDescription
ByteString

The bytes for sourceParent.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MoveFolderMetadata.Builder newBuilderForType()
Returns
TypeDescription
MoveFolderMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MoveFolderMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MoveFolderMetadata.Builder toBuilder()
Returns
TypeDescription
MoveFolderMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException