Class CreateFolderRequest.Builder (1.32.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateFolderRequest build()
Returns
TypeDescription
CreateFolderRequest

buildPartial()

public CreateFolderRequest buildPartial()
Returns
TypeDescription
CreateFolderRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public CreateFolderRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CreateFolderRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CreateFolderRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateFolderRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the folder field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFolder
Returns
TypeDescription
CreateFolderRequest.Builder

mergeFrom(CreateFolderRequest other)

public CreateFolderRequest.Builder mergeFrom(CreateFolderRequest other)
Parameter
NameDescription
otherCreateFolderRequest
Returns
TypeDescription
CreateFolderRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CreateFolderRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateFolderRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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