Class MoveFolderMetadata.Builder (1.49.0)

public static final class MoveFolderMetadata.Builder extends GeneratedMessageV3.Builder<MoveFolderMetadata.Builder> implements MoveFolderMetadataOrBuilder

Metadata pertaining to the folder move process.

Protobuf type google.cloud.resourcemanager.v3.MoveFolderMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MoveFolderMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

build()

public MoveFolderMetadata build()
Returns
Type Description
MoveFolderMetadata

buildPartial()

public MoveFolderMetadata buildPartial()
Returns
Type Description
MoveFolderMetadata

clear()

public MoveFolderMetadata.Builder clear()
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

clearDestinationParent()

public MoveFolderMetadata.Builder clearDestinationParent()

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

string destination_parent = 3;

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

clearDisplayName()

public MoveFolderMetadata.Builder clearDisplayName()

The display name of the folder.

string display_name = 1;

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MoveFolderMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveFolderMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

clearSourceParent()

public MoveFolderMetadata.Builder clearSourceParent()

The resource name of the folder's parent.

string source_parent = 2;

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

clone()

public MoveFolderMetadata.Builder clone()
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

getDefaultInstanceForType()

public MoveFolderMetadata getDefaultInstanceForType()
Returns
Type Description
MoveFolderMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinationParent()

public String getDestinationParent()

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

string destination_parent = 3;

Returns
Type Description
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
Type Description
ByteString

The bytes for destinationParent.

getDisplayName()

public String getDisplayName()

The display name of the folder.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the folder.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getSourceParent()

public String getSourceParent()

The resource name of the folder's parent.

string source_parent = 2;

Returns
Type Description
String

The sourceParent.

getSourceParentBytes()

public ByteString getSourceParentBytes()

The resource name of the folder's parent.

string source_parent = 2;

Returns
Type Description
ByteString

The bytes for sourceParent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveFolderMetadata other)

public MoveFolderMetadata.Builder mergeFrom(MoveFolderMetadata other)
Parameter
Name Description
other MoveFolderMetadata
Returns
Type Description
MoveFolderMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MoveFolderMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveFolderMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MoveFolderMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveFolderMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

setDestinationParent(String value)

public MoveFolderMetadata.Builder setDestinationParent(String value)

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

string destination_parent = 3;

Parameter
Name Description
value String

The destinationParent to set.

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

setDestinationParentBytes(ByteString value)

public MoveFolderMetadata.Builder setDestinationParentBytes(ByteString value)

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

string destination_parent = 3;

Parameter
Name Description
value ByteString

The bytes for destinationParent to set.

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

setDisplayName(String value)

public MoveFolderMetadata.Builder setDisplayName(String value)

The display name of the folder.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public MoveFolderMetadata.Builder setDisplayNameBytes(ByteString value)

The display name of the folder.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MoveFolderMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MoveFolderMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MoveFolderMetadata.Builder
Overrides

setSourceParent(String value)

public MoveFolderMetadata.Builder setSourceParent(String value)

The resource name of the folder's parent.

string source_parent = 2;

Parameter
Name Description
value String

The sourceParent to set.

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

setSourceParentBytes(ByteString value)

public MoveFolderMetadata.Builder setSourceParentBytes(ByteString value)

The resource name of the folder's parent.

string source_parent = 2;

Parameter
Name Description
value ByteString

The bytes for sourceParent to set.

Returns
Type Description
MoveFolderMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveFolderMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveFolderMetadata.Builder
Overrides