Send feedback
Class UpdateFolderRequest.Builder (1.3.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.3.2 keyboard_arrow_down
public static final class UpdateFolderRequest . Builder extends GeneratedMessageV3 . Builder<UpdateFolderRequest . Builder > implements UpdateFolderRequestOrBuilder
The request sent to the
UpdateFolder
method.
Only the display_name
field can be changed. All other fields will be
ignored. Use the
MoveFolder method to
change the parent
field.
Protobuf type google.cloud.resourcemanager.v3.UpdateFolderRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateFolderRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateFolderRequest build ()
Returns
buildPartial()
public UpdateFolderRequest buildPartial ()
Returns
clear()
public UpdateFolderRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateFolderRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearFolder()
public UpdateFolderRequest . Builder clearFolder ()
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateFolderRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateFolderRequest . Builder clearUpdateMask ()
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateFolderRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateFolderRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getFolder()
public Folder getFolder ()
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description Folder The folder.
getFolderBuilder()
public Folder . Builder getFolderBuilder ()
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getFolderOrBuilder()
public FolderOrBuilder getFolderOrBuilder ()
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasFolder()
public boolean hasFolder ()
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the folder field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFolder(Folder value)
public UpdateFolderRequest . Builder mergeFolder ( Folder value )
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateFolderRequest other)
public UpdateFolderRequest . Builder mergeFrom ( UpdateFolderRequest other )
Parameter
Returns
public UpdateFolderRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateFolderRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFolderRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateFolderRequest . Builder mergeUpdateMask ( FieldMask value )
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateFolderRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setFolder(Folder value)
public UpdateFolderRequest . Builder setFolder ( Folder value )
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setFolder(Folder.Builder builderForValue)
public UpdateFolderRequest . Builder setFolder ( Folder . Builder builderForValue )
Required. The new definition of the Folder. It must include the name
field, which
cannot be changed.
.google.cloud.resourcemanager.v3.Folder folder = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateFolderRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFolderRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateFolderRequest . Builder setUpdateMask ( FieldMask value )
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateFolderRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
Required. Fields to be updated.
Only the display_name
can be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name Description builderForValue Builder
Returns
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-28 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-28 UTC."],[],[]]