Class BatchCreateAccessBindingsRequest.Builder (0.40.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.CreateAccessBindingRequest>
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateAccessBindingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueCreateAccessBindingRequest
Returns
TypeDescription
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
NameDescription
builderForValueCreateAccessBindingRequest.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueCreateAccessBindingRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCreateAccessBindingRequest.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
CreateAccessBindingRequest.Builder

build()

public BatchCreateAccessBindingsRequest build()
Returns
TypeDescription
BatchCreateAccessBindingsRequest

buildPartial()

public BatchCreateAccessBindingsRequest buildPartial()
Returns
TypeDescription
BatchCreateAccessBindingsRequest

clear()

public BatchCreateAccessBindingsRequest.Builder clear()
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchCreateAccessBindingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchCreateAccessBindingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BatchCreateAccessBindingsRequest.Builder

clone()

public BatchCreateAccessBindingsRequest.Builder clone()
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder
Overrides

getDefaultInstanceForType()

public BatchCreateAccessBindingsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateAccessBindingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCreateAccessBindingsRequest other)

public BatchCreateAccessBindingsRequest.Builder mergeFrom(BatchCreateAccessBindingsRequest other)
Parameter
NameDescription
otherBatchCreateAccessBindingsRequest
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchCreateAccessBindingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BatchCreateAccessBindingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateAccessBindingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchCreateAccessBindingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueCreateAccessBindingRequest
Returns
TypeDescription
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
NameDescription
indexint
builderForValueCreateAccessBindingRequest.Builder
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateAccessBindingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateAccessBindingsRequest.Builder
Overrides