Class UpdateOrganizationIntelligenceConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder>
com.google.storage.control.v2.UpdateOrganizationIntelligenceConfigRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpdateOrganizationIntelligenceConfigRequestOrBuilder, Cloneable
Enclosing class:
UpdateOrganizationIntelligenceConfigRequest

public static final class UpdateOrganizationIntelligenceConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder> implements UpdateOrganizationIntelligenceConfigRequestOrBuilder
 Request message to update the `IntelligenceConfig` resource associated with
 your organization.

 **IAM Permissions**:

 Requires `storage.intelligenceConfigs.update`
 [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
 the organization.
 
Protobuf type google.storage.control.v2.UpdateOrganizationIntelligenceConfigRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder>
    • getDefaultInstanceForType

      public UpdateOrganizationIntelligenceConfigRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateOrganizationIntelligenceConfigRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder>
    • mergeFrom

      public UpdateOrganizationIntelligenceConfigRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateOrganizationIntelligenceConfigRequest.Builder>
      Throws:
      IOException
    • hasIntelligenceConfig

      public boolean hasIntelligenceConfig()
       Required. The `IntelligenceConfig` resource to be updated.
       
      .google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasIntelligenceConfig in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
      Returns:
      Whether the intelligenceConfig field is set.
    • getIntelligenceConfig

      public IntelligenceConfig getIntelligenceConfig()
       Required. The `IntelligenceConfig` resource to be updated.
       
      .google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntelligenceConfig in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
      Returns:
      The intelligenceConfig.
    • setIntelligenceConfig

       Required. The `IntelligenceConfig` resource to be updated.
       
      .google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • setIntelligenceConfig

       Required. The `IntelligenceConfig` resource to be updated.
       
      .google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeIntelligenceConfig

       Required. The `IntelligenceConfig` resource to be updated.
       
      .google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • 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];
    • 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];
    • getIntelligenceConfigOrBuilder

      public IntelligenceConfigOrBuilder getIntelligenceConfigOrBuilder()
       Required. The `IntelligenceConfig` resource to be updated.
       
      .google.storage.control.v2.IntelligenceConfig intelligence_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntelligenceConfigOrBuilder in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
    • 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];
      Specified by:
      hasUpdateMask in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.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];
      Specified by:
      getUpdateMask in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateOrganizationIntelligenceConfigRequest.Builder setUpdateMask(com.google.protobuf.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];
    • setUpdateMask

      public UpdateOrganizationIntelligenceConfigRequest.Builder setUpdateMask(com.google.protobuf.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];
    • mergeUpdateMask

      public UpdateOrganizationIntelligenceConfigRequest.Builder mergeUpdateMask(com.google.protobuf.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];
    • 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];
    • getUpdateMaskBuilder

      public com.google.protobuf.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];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
    • 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) = { ... }
      Specified by:
      getRequestId in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getRequestIdBytes in interface UpdateOrganizationIntelligenceConfigRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

       Optional. The ID that uniquely identifies the request, preventing duplicate
       processing.
       
      string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setRequestIdBytes

      public UpdateOrganizationIntelligenceConfigRequest.Builder setRequestIdBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.