Class BatchCreateAccessBindingsRequest.Builder (0.59.0)

public static final class BatchCreateAccessBindingsRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateAccessBindingsRequest.Builder> implements BatchCreateAccessBindingsRequestOrBuilder

Request message for BatchCreateAccessBindings RPC.

Protobuf type google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends CreateAccessBindingRequest> values)

public BatchCreateAccessBindingsRequest.Builder addAllRequests(Iterable<? extends CreateAccessBindingRequest> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.CreateAccessBindingRequest>
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateAccessBindingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides

addRequests(CreateAccessBindingRequest value)

public BatchCreateAccessBindingsRequest.Builder addRequests(CreateAccessBindingRequest value)

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];

Parameter
Name Description
value CreateAccessBindingRequest
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

addRequests(CreateAccessBindingRequest.Builder builderForValue)

public BatchCreateAccessBindingsRequest.Builder addRequests(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];

Parameter
Name Description
builderForValue CreateAccessBindingRequest.Builder
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

addRequests(int index, CreateAccessBindingRequest value)

public BatchCreateAccessBindingsRequest.Builder addRequests(int index, CreateAccessBindingRequest value)

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];

Parameters
Name Description
index int
value CreateAccessBindingRequest
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

addRequests(int index, CreateAccessBindingRequest.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue CreateAccessBindingRequest.Builder
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

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];

Returns
Type Description
CreateAccessBindingRequest.Builder

addRequestsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CreateAccessBindingRequest.Builder

build()

public BatchCreateAccessBindingsRequest build()
Returns
Type Description
BatchCreateAccessBindingsRequest

buildPartial()

public BatchCreateAccessBindingsRequest buildPartial()
Returns
Type Description
BatchCreateAccessBindingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BatchCreateAccessBindingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateAccessBindingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides

clearParent()

public BatchCreateAccessBindingsRequest.Builder 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
Type Description
BatchCreateAccessBindingsRequest.Builder

This builder for chaining.

clearRequests()

public BatchCreateAccessBindingsRequest.Builder 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];

Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

clone()

public BatchCreateAccessBindingsRequest.Builder clone()
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateAccessBindingsRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateAccessBindingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CreateAccessBindingRequest

getRequestsBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CreateAccessBindingRequest.Builder

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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

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];

Returns
Type Description
List<CreateAccessBindingRequest>

getRequestsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CreateAccessBindingRequestOrBuilder

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];

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchCreateAccessBindingsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateAccessBindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateAccessBindingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides

removeRequests(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateAccessBindingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides

setParent(String value)

public BatchCreateAccessBindingsRequest.Builder setParent(String 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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchCreateAccessBindingsRequest.Builder setParentBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchCreateAccessBindingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides

setRequests(int index, CreateAccessBindingRequest value)

public BatchCreateAccessBindingsRequest.Builder setRequests(int index, CreateAccessBindingRequest value)

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];

Parameters
Name Description
index int
value CreateAccessBindingRequest
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

setRequests(int index, CreateAccessBindingRequest.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue CreateAccessBindingRequest.Builder
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateAccessBindingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchCreateAccessBindingsRequest.Builder
Overrides