Class UpdateProjectIntelligenceConfigRequest.Builder (2.62.1)

public static final class UpdateProjectIntelligenceConfigRequest.Builder extends GeneratedMessage.Builder<UpdateProjectIntelligenceConfigRequest.Builder> implements UpdateProjectIntelligenceConfigRequestOrBuilder

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

IAM Permissions:

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

Protobuf type google.storage.control.v2.UpdateProjectIntelligenceConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateProjectIntelligenceConfigRequest build()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest

buildPartial()

public UpdateProjectIntelligenceConfigRequest buildPartial()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest

clear()

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

clearIntelligenceConfig()

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

clearRequestId()

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

getDefaultInstanceForType()

public UpdateProjectIntelligenceConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateProjectIntelligenceConfigRequest

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 UpdateProjectIntelligenceConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectIntelligenceConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(UpdateProjectIntelligenceConfigRequest other)

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

mergeIntelligenceConfig(IntelligenceConfig value)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

setIntelligenceConfig(IntelligenceConfig value)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

setIntelligenceConfig(IntelligenceConfig.Builder builderForValue)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

setRequestId(String value)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateProjectIntelligenceConfigRequest.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
UpdateProjectIntelligenceConfigRequest.Builder