Class CreateFolderRequest.Builder (1.46.0)

public static final class CreateFolderRequest.Builder extends GeneratedMessageV3.Builder<CreateFolderRequest.Builder> implements CreateFolderRequestOrBuilder

The CreateFolder request message.

Protobuf type google.cloud.resourcemanager.v3.CreateFolderRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateFolderRequest build()
Returns
Type Description
CreateFolderRequest

buildPartial()

public CreateFolderRequest buildPartial()
Returns
Type Description
CreateFolderRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFolder()

public CreateFolderRequest.Builder clearFolder()

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateFolderRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CreateFolderRequest getDefaultInstanceForType()
Returns
Type Description
CreateFolderRequest

getDescriptorForType()

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

getFolder()

public Folder getFolder()

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Folder

The folder.

getFolderBuilder()

public Folder.Builder getFolderBuilder()

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Folder.Builder

getFolderOrBuilder()

public FolderOrBuilder getFolderOrBuilder()

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FolderOrBuilder

hasFolder()

public boolean hasFolder()

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the folder field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFolder(Folder value)

public CreateFolderRequest.Builder mergeFolder(Folder value)

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Folder
Returns
Type Description
CreateFolderRequest.Builder

mergeFrom(CreateFolderRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFolder(Folder value)

public CreateFolderRequest.Builder setFolder(Folder value)

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Folder
Returns
Type Description
CreateFolderRequest.Builder

setFolder(Folder.Builder builderForValue)

public CreateFolderRequest.Builder setFolder(Folder.Builder builderForValue)

Required. The folder being created, only the display name and parent will be consulted. All other fields will be ignored.

.google.cloud.resourcemanager.v3.Folder folder = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Folder.Builder
Returns
Type Description
CreateFolderRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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