Class CreateFolderMetadata.Builder (1.50.0)

public static final class CreateFolderMetadata.Builder extends GeneratedMessageV3.Builder<CreateFolderMetadata.Builder> implements CreateFolderMetadataOrBuilder

Metadata pertaining to the Folder creation process.

Protobuf type google.cloud.resourcemanager.v3.CreateFolderMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateFolderMetadata build()
Returns
Type Description
CreateFolderMetadata

buildPartial()

public CreateFolderMetadata buildPartial()
Returns
Type Description
CreateFolderMetadata

clear()

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

clearDisplayName()

public CreateFolderMetadata.Builder clearDisplayName()

The display name of the folder.

string display_name = 1;

Returns
Type Description
CreateFolderMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateFolderMetadata.Builder clearParent()

The resource name of the folder or organization we are creating the folder under.

string parent = 2;

Returns
Type Description
CreateFolderMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateFolderMetadata getDefaultInstanceForType()
Returns
Type Description
CreateFolderMetadata

getDescriptorForType()

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

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.

getParent()

public String getParent()

The resource name of the folder or organization we are creating the folder under.

string parent = 2;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The resource name of the folder or organization we are creating the folder under.

string parent = 2;

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateFolderMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public CreateFolderMetadata.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
CreateFolderMetadata.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public CreateFolderMetadata.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
CreateFolderMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateFolderMetadata.Builder setParent(String value)

The resource name of the folder or organization we are creating the folder under.

string parent = 2;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateFolderMetadata.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFolderMetadata.Builder setParentBytes(ByteString value)

The resource name of the folder or organization we are creating the folder under.

string parent = 2;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateFolderMetadata.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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