Class UpdateFolderIntelligenceConfigRequest.Builder (2.62.1)

public static final class UpdateFolderIntelligenceConfigRequest.Builder extends GeneratedMessage.Builder<UpdateFolderIntelligenceConfigRequest.Builder> implements UpdateFolderIntelligenceConfigRequestOrBuilder

Request message to update the IntelligenceConfig resource associated with your folder.

IAM Permissions:

Requires storage.intelligenceConfigs.update IAM permission on the folder.

Protobuf type google.storage.control.v2.UpdateFolderIntelligenceConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateFolderIntelligenceConfigRequest build()
Returns
Type Description
UpdateFolderIntelligenceConfigRequest

buildPartial()

public UpdateFolderIntelligenceConfigRequest buildPartial()
Returns
Type Description
UpdateFolderIntelligenceConfigRequest

clear()

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

clearIntelligenceConfig()

public UpdateFolderIntelligenceConfigRequest.Builder clearIntelligenceConfig()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

clearRequestId()

public UpdateFolderIntelligenceConfigRequest.Builder clearRequestId()

Optional. The ID that uniquely identifies the request, preventing duplicate processing.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateFolderIntelligenceConfigRequest.Builder clearUpdateMask()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

getDefaultInstanceForType()

public UpdateFolderIntelligenceConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFolderIntelligenceConfigRequest

getDescriptorForType()

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

getIntelligenceConfig()

public IntelligenceConfig getIntelligenceConfig()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntelligenceConfig

The intelligenceConfig.

getIntelligenceConfigBuilder()

public IntelligenceConfig.Builder getIntelligenceConfigBuilder()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntelligenceConfig.Builder

getIntelligenceConfigOrBuilder()

public IntelligenceConfigOrBuilder getIntelligenceConfigOrBuilder()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntelligenceConfigOrBuilder

getRequestId()

public String getRequestId()

Optional. The ID that uniquely identifies the request, preventing duplicate processing.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. The ID that uniquely identifies the request, preventing duplicate processing.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasIntelligenceConfig()

public boolean hasIntelligenceConfig()

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the intelligenceConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateFolderIntelligenceConfigRequest other)

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

mergeIntelligenceConfig(IntelligenceConfig value)

public UpdateFolderIntelligenceConfigRequest.Builder mergeIntelligenceConfig(IntelligenceConfig value)

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IntelligenceConfig
Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateFolderIntelligenceConfigRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

setIntelligenceConfig(IntelligenceConfig value)

public UpdateFolderIntelligenceConfigRequest.Builder setIntelligenceConfig(IntelligenceConfig value)

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IntelligenceConfig
Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

setIntelligenceConfig(IntelligenceConfig.Builder builderForValue)

public UpdateFolderIntelligenceConfigRequest.Builder setIntelligenceConfig(IntelligenceConfig.Builder builderForValue)

Required. The IntelligenceConfig resource to be updated.

.google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue IntelligenceConfig.Builder
Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

setRequestId(String value)

public UpdateFolderIntelligenceConfigRequest.Builder setRequestId(String value)

Optional. The ID that uniquely identifies the request, preventing duplicate processing.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateFolderIntelligenceConfigRequest.Builder setRequestIdBytes(ByteString value)

Optional. The ID that uniquely identifies the request, preventing duplicate processing.

string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateFolderIntelligenceConfigRequest.Builder setUpdateMask(FieldMask value)

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateFolderIntelligenceConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update_mask that specifies the fields within the IntelligenceConfig resource that should be modified by this update. Only the listed fields are updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateFolderIntelligenceConfigRequest.Builder