Class BatchUpdateAccessBindingsRequest.Builder (0.33.0)

public static final class BatchUpdateAccessBindingsRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateAccessBindingsRequest.Builder> implements BatchUpdateAccessBindingsRequestOrBuilder

Request message for BatchUpdateAccessBindings RPC.

Protobuf type google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRequests(Iterable<? extends UpdateAccessBindingRequest> values)

public BatchUpdateAccessBindingsRequest.Builder addAllRequests(Iterable<? extends UpdateAccessBindingRequest> values)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest>
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateAccessBindingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder
Overrides

addRequests(UpdateAccessBindingRequest value)

public BatchUpdateAccessBindingsRequest.Builder addRequests(UpdateAccessBindingRequest value)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueUpdateAccessBindingRequest
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

addRequests(UpdateAccessBindingRequest.Builder builderForValue)

public BatchUpdateAccessBindingsRequest.Builder addRequests(UpdateAccessBindingRequest.Builder builderForValue)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueUpdateAccessBindingRequest.Builder
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

addRequests(int index, UpdateAccessBindingRequest value)

public BatchUpdateAccessBindingsRequest.Builder addRequests(int index, UpdateAccessBindingRequest value)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueUpdateAccessBindingRequest
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

addRequests(int index, UpdateAccessBindingRequest.Builder builderForValue)

public BatchUpdateAccessBindingsRequest.Builder addRequests(int index, UpdateAccessBindingRequest.Builder builderForValue)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueUpdateAccessBindingRequest.Builder
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

addRequestsBuilder()

public UpdateAccessBindingRequest.Builder addRequestsBuilder()

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateAccessBindingRequest.Builder

addRequestsBuilder(int index)

public UpdateAccessBindingRequest.Builder addRequestsBuilder(int index)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateAccessBindingRequest.Builder

build()

public BatchUpdateAccessBindingsRequest build()
Returns
TypeDescription
BatchUpdateAccessBindingsRequest

buildPartial()

public BatchUpdateAccessBindingsRequest buildPartial()
Returns
TypeDescription
BatchUpdateAccessBindingsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchUpdateAccessBindingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder
Overrides

clearParent()

public BatchUpdateAccessBindingsRequest.Builder clearParent()

Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must match this field. Formats:

  • accounts/{account}
  • properties/{property}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateAccessBindingsRequest.Builder clearRequests()

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchUpdateAccessBindingsRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateAccessBindingsRequest

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 of all provided AccessBinding in UpdateAccessBindingRequest messages must 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 of all provided AccessBinding in UpdateAccessBindingRequest messages must 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 UpdateAccessBindingRequest getRequests(int index)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateAccessBindingRequest

getRequestsBuilder(int index)

public UpdateAccessBindingRequest.Builder getRequestsBuilder(int index)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateAccessBindingRequest.Builder

getRequestsBuilderList()

public List<UpdateAccessBindingRequest.Builder> getRequestsBuilderList()

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Builder>

getRequestsCount()

public int getRequestsCount()

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getRequestsList()

public List<UpdateAccessBindingRequest> getRequestsList()

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<UpdateAccessBindingRequest>

getRequestsOrBuilder(int index)

public UpdateAccessBindingRequestOrBuilder getRequestsOrBuilder(int index)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateAccessBindingRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateAccessBindingRequestOrBuilder> getRequestsOrBuilderList()

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateAccessBindingsRequest other)

public BatchUpdateAccessBindingsRequest.Builder mergeFrom(BatchUpdateAccessBindingsRequest other)
Parameter
NameDescription
otherBatchUpdateAccessBindingsRequest
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchUpdateAccessBindingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder
Overrides

removeRequests(int index)

public BatchUpdateAccessBindingsRequest.Builder removeRequests(int index)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchUpdateAccessBindingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder
Overrides

setParent(String value)

public BatchUpdateAccessBindingsRequest.Builder setParent(String value)

Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must 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
BatchUpdateAccessBindingsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateAccessBindingsRequest.Builder setParentBytes(ByteString value)

Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must 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
BatchUpdateAccessBindingsRequest.Builder

This builder for chaining.

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

public BatchUpdateAccessBindingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder
Overrides

setRequests(int index, UpdateAccessBindingRequest value)

public BatchUpdateAccessBindingsRequest.Builder setRequests(int index, UpdateAccessBindingRequest value)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueUpdateAccessBindingRequest
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

setRequests(int index, UpdateAccessBindingRequest.Builder builderForValue)

public BatchUpdateAccessBindingsRequest.Builder setRequests(int index, UpdateAccessBindingRequest.Builder builderForValue)

Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.

repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueUpdateAccessBindingRequest.Builder
Returns
TypeDescription
BatchUpdateAccessBindingsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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