Class UpdateFolderRequest (1.15.0)

public final class UpdateFolderRequest extends GeneratedMessageV3 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 Fields

FOLDER_FIELD_NUMBER

public static final int FOLDER_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateFolderRequest getDefaultInstance()
Returns
TypeDescription
UpdateFolderRequest

getDescriptor()

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

newBuilder()

public static UpdateFolderRequest.Builder newBuilder()
Returns
TypeDescription
UpdateFolderRequest.Builder

newBuilder(UpdateFolderRequest prototype)

public static UpdateFolderRequest.Builder newBuilder(UpdateFolderRequest prototype)
Parameter
NameDescription
prototypeUpdateFolderRequest
Returns
TypeDescription
UpdateFolderRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateFolderRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFolderRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateFolderRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateFolderRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateFolderRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateFolderRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateFolderRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFolderRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateFolderRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateFolderRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateFolderRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateFolderRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateFolderRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateFolderRequest> parser()
Returns
TypeDescription
Parser<UpdateFolderRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateFolderRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateFolderRequest

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
TypeDescription
Folder

The folder.

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
TypeDescription
FolderOrBuilder

getParserForType()

public Parser<UpdateFolderRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateFolderRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
FieldMask

The updateMask.

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
TypeDescription
FieldMaskOrBuilder

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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateFolderRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateFolderRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateFolderRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateFolderRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateFolderRequest.Builder toBuilder()
Returns
TypeDescription
UpdateFolderRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException