Class BatchCalculateEffectiveSettingsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchCalculateEffectiveSettingsRequest.Builder>
com.google.cloud.securitycenter.settings.v1beta1.BatchCalculateEffectiveSettingsRequest.Builder
All Implemented Interfaces:
BatchCalculateEffectiveSettingsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchCalculateEffectiveSettingsRequest

public static final class BatchCalculateEffectiveSettingsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchCalculateEffectiveSettingsRequest.Builder> implements BatchCalculateEffectiveSettingsRequestOrBuilder
 Request message for BatchGetEffectiveSettings.
 
Protobuf type google.cloud.securitycenter.settings.v1beta1.BatchCalculateEffectiveSettingsRequest
  • 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<BatchCalculateEffectiveSettingsRequest.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<BatchCalculateEffectiveSettingsRequest.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<BatchCalculateEffectiveSettingsRequest.Builder>
    • getDefaultInstanceForType

      public BatchCalculateEffectiveSettingsRequest 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 BatchCalculateEffectiveSettingsRequest.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<BatchCalculateEffectiveSettingsRequest.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<BatchCalculateEffectiveSettingsRequest.Builder>
    • mergeFrom

      public BatchCalculateEffectiveSettingsRequest.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<BatchCalculateEffectiveSettingsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The relative resource name of the organization shared by all of the
       settings being retrieved.
       Format:
       * `organizations/{organization}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchCalculateEffectiveSettingsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The relative resource name of the organization shared by all of the
       settings being retrieved.
       Format:
       * `organizations/{organization}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchCalculateEffectiveSettingsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The relative resource name of the organization shared by all of the
       settings being retrieved.
       Format:
       * `organizations/{organization}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The relative resource name of the organization shared by all of the
       settings being retrieved.
       Format:
       * `organizations/{organization}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchCalculateEffectiveSettingsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The relative resource name of the organization shared by all of the
       settings being retrieved.
       Format:
       * `organizations/{organization}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getRequestsList

      public List<CalculateEffectiveSettingsRequest> getRequestsList()
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
      Specified by:
      getRequestsList in interface BatchCalculateEffectiveSettingsRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
      Specified by:
      getRequestsCount in interface BatchCalculateEffectiveSettingsRequestOrBuilder
    • getRequests

      public CalculateEffectiveSettingsRequest getRequests(int index)
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
      Specified by:
      getRequests in interface BatchCalculateEffectiveSettingsRequestOrBuilder
    • setRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • setRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • addRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • addRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • addRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • addRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • addAllRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • clearRequests

       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • removeRequests

      public BatchCalculateEffectiveSettingsRequest.Builder removeRequests(int index)
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • getRequestsBuilder

      public CalculateEffectiveSettingsRequest.Builder getRequestsBuilder(int index)
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • getRequestsOrBuilder

      public CalculateEffectiveSettingsRequestOrBuilder getRequestsOrBuilder(int index)
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
      Specified by:
      getRequestsOrBuilder in interface BatchCalculateEffectiveSettingsRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends CalculateEffectiveSettingsRequestOrBuilder> getRequestsOrBuilderList()
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
      Specified by:
      getRequestsOrBuilderList in interface BatchCalculateEffectiveSettingsRequestOrBuilder
    • addRequestsBuilder

      public CalculateEffectiveSettingsRequest.Builder addRequestsBuilder()
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • addRequestsBuilder

      public CalculateEffectiveSettingsRequest.Builder addRequestsBuilder(int index)
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;
    • getRequestsBuilderList

      public List<CalculateEffectiveSettingsRequest.Builder> getRequestsBuilderList()
       The requests specifying the effective settings to retrieve.
       A maximum of 1000 effective settings can be retrieved in a batch.
       
      repeated .google.cloud.securitycenter.settings.v1beta1.CalculateEffectiveSettingsRequest requests = 2;