Send feedback
Class CreateFolderRequest.Builder (1.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.5.0 keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateFolderRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateFolderRequest build ()
Returns
buildPartial()
public CreateFolderRequest buildPartial ()
Returns
clear()
public CreateFolderRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateFolderRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateFolderRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public CreateFolderRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public CreateFolderRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
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
Returns
mergeFrom(CreateFolderRequest other)
public CreateFolderRequest . Builder mergeFrom ( CreateFolderRequest other )
Parameter
Returns
public CreateFolderRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateFolderRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateFolderRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateFolderRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateFolderRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateFolderRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]