Class MoveFolderMetadata.Builder (1.5.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MoveFolderMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides

build()

public MoveFolderMetadata build()
Returns
TypeDescription
MoveFolderMetadata

buildPartial()

public MoveFolderMetadata buildPartial()
Returns
TypeDescription
MoveFolderMetadata

clear()

public MoveFolderMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
MoveFolderMetadata.Builder

This builder for chaining.

clearDisplayName()

public MoveFolderMetadata.Builder clearDisplayName()

The display name of the folder.

string display_name = 1;

Returns
TypeDescription
MoveFolderMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MoveFolderMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveFolderMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides

clearSourceParent()

public MoveFolderMetadata.Builder clearSourceParent()

The resource name of the folder's parent.

string source_parent = 2;

Returns
TypeDescription
MoveFolderMetadata.Builder

This builder for chaining.

clone()

public MoveFolderMetadata.Builder clone()
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides

getDefaultInstanceForType()

public MoveFolderMetadata getDefaultInstanceForType()
Returns
TypeDescription
MoveFolderMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MoveFolderMetadata other)

public MoveFolderMetadata.Builder mergeFrom(MoveFolderMetadata other)
Parameter
NameDescription
otherMoveFolderMetadata
Returns
TypeDescription
MoveFolderMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MoveFolderMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MoveFolderMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveFolderMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The destinationParent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destinationParent to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
MoveFolderMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MoveFolderMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides

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

public MoveFolderMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sourceParent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourceParent to set.

Returns
TypeDescription
MoveFolderMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveFolderMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MoveFolderMetadata.Builder
Overrides