Class CreateFolderMetadata.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateFolderMetadata build()
Returns
TypeDescription
CreateFolderMetadata

buildPartial()

public CreateFolderMetadata buildPartial()
Returns
TypeDescription
CreateFolderMetadata

clear()

public CreateFolderMetadata.Builder clear()
Returns
TypeDescription
CreateFolderMetadata.Builder
Overrides

clearDisplayName()

public CreateFolderMetadata.Builder clearDisplayName()

The display name of the folder.

string display_name = 1;

Returns
TypeDescription
CreateFolderMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFolderMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateFolderMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateFolderMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateFolderMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getParent()

public String getParent()

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

string parent = 2;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateFolderMetadata other)

public CreateFolderMetadata.Builder mergeFrom(CreateFolderMetadata other)
Parameter
NameDescription
otherCreateFolderMetadata
Returns
TypeDescription
CreateFolderMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateFolderMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateFolderMetadata.Builder
Overrides

setDisplayName(String value)

public CreateFolderMetadata.Builder setDisplayName(String value)

The display name of the folder.

string display_name = 1;

Parameter
NameDescription
valueString

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
CreateFolderMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateFolderMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateFolderMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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