Class UpdateOrganizationIntelligenceConfigRequest.Builder (2.62.1)

public static final class UpdateOrganizationIntelligenceConfigRequest.Builder extends GeneratedMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder> implements UpdateOrganizationIntelligenceConfigRequestOrBuilder

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

IAM Permissions:

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

Protobuf type google.storage.control.v2.UpdateOrganizationIntelligenceConfigRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateOrganizationIntelligenceConfigRequest build()
Returns
Type Description
UpdateOrganizationIntelligenceConfigRequest

buildPartial()

public UpdateOrganizationIntelligenceConfigRequest buildPartial()
Returns
Type Description
UpdateOrganizationIntelligenceConfigRequest

clear()

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

clearIntelligenceConfig()

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

clearRequestId()

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

This builder for chaining.

clearUpdateMask()

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

getDefaultInstanceForType()

public UpdateOrganizationIntelligenceConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateOrganizationIntelligenceConfigRequest

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

mergeFrom(Message other)

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

mergeFrom(UpdateOrganizationIntelligenceConfigRequest other)

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

mergeIntelligenceConfig(IntelligenceConfig value)

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

mergeUpdateMask(FieldMask value)

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

setIntelligenceConfig(IntelligenceConfig value)

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

setIntelligenceConfig(IntelligenceConfig.Builder builderForValue)

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

setRequestId(String value)

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

This builder for chaining.

setRequestIdBytes(ByteString value)

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

This builder for chaining.

setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

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