Class BatchCreateAccessBindingsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchCreateAccessBindingsRequest.Builder>
com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.Builder
All Implemented Interfaces:
BatchCreateAccessBindingsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BatchCreateAccessBindingsRequest

public static final class BatchCreateAccessBindingsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchCreateAccessBindingsRequest.Builder> implements BatchCreateAccessBindingsRequestOrBuilder
 Request message for BatchCreateAccessBindings RPC.
 
Protobuf type google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest
  • 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<BatchCreateAccessBindingsRequest.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<BatchCreateAccessBindingsRequest.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<BatchCreateAccessBindingsRequest.Builder>
    • getDefaultInstanceForType

      public BatchCreateAccessBindingsRequest 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

      public BatchCreateAccessBindingsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public String getParent()
       Required. The account or property that owns the access bindings. The parent
       field in the CreateAccessBindingRequest messages must either be empty or
       match this field. Formats:
       - accounts/{account}
       - properties/{property}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchCreateAccessBindingsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The account or property that owns the access bindings. The parent
       field in the CreateAccessBindingRequest messages must either be empty or
       match this field. Formats:
       - accounts/{account}
       - properties/{property}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchCreateAccessBindingsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The account or property that owns the access bindings. The parent
       field in the CreateAccessBindingRequest messages must either be empty or
       match this field. Formats:
       - accounts/{account}
       - properties/{property}
       
      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 account or property that owns the access bindings. The parent
       field in the CreateAccessBindingRequest messages must either be empty or
       match this field. Formats:
       - accounts/{account}
       - properties/{property}
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchCreateAccessBindingsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The account or property that owns the access bindings. The parent
       field in the CreateAccessBindingRequest messages must either be empty or
       match this field. Formats:
       - accounts/{account}
       - properties/{property}
       
      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<CreateAccessBindingRequest> getRequestsList()
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsList in interface BatchCreateAccessBindingsRequestOrBuilder
    • getRequestsCount

      public int getRequestsCount()
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsCount in interface BatchCreateAccessBindingsRequestOrBuilder
    • getRequests

      public CreateAccessBindingRequest getRequests(int index)
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequests in interface BatchCreateAccessBindingsRequestOrBuilder
    • setRequests

       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • setRequests

      public BatchCreateAccessBindingsRequest.Builder setRequests(int index, CreateAccessBindingRequest.Builder builderForValue)
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • addRequests

      public BatchCreateAccessBindingsRequest.Builder addRequests(int index, CreateAccessBindingRequest.Builder builderForValue)
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • addAllRequests

       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearRequests

       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • removeRequests

      public BatchCreateAccessBindingsRequest.Builder removeRequests(int index)
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilder

      public CreateAccessBindingRequest.Builder getRequestsBuilder(int index)
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsOrBuilder

      public CreateAccessBindingRequestOrBuilder getRequestsOrBuilder(int index)
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilder in interface BatchCreateAccessBindingsRequestOrBuilder
    • getRequestsOrBuilderList

      public List<? extends CreateAccessBindingRequestOrBuilder> getRequestsOrBuilderList()
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRequestsOrBuilderList in interface BatchCreateAccessBindingsRequestOrBuilder
    • addRequestsBuilder

      public CreateAccessBindingRequest.Builder addRequestsBuilder()
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • addRequestsBuilder

      public CreateAccessBindingRequest.Builder addRequestsBuilder(int index)
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
    • getRequestsBuilderList

      public List<CreateAccessBindingRequest.Builder> getRequestsBuilderList()
       Required. The requests specifying the access bindings to create.
       A maximum of 1000 access bindings can be created in a batch.
       
      repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];