Class BatchUpdateUserLinksRequest.Builder (0.21.0)

public static final class BatchUpdateUserLinksRequest.Builder extends GeneratedMessageV3.Builder<BatchUpdateUserLinksRequest.Builder> implements BatchUpdateUserLinksRequestOrBuilder

Request message for BatchUpdateUserLinks RPC.

Protobuf type google.analytics.admin.v1alpha.BatchUpdateUserLinksRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends UpdateUserLinkRequest> values)

public BatchUpdateUserLinksRequest.Builder addAllRequests(Iterable<? extends UpdateUserLinkRequest> values)

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addRequests(UpdateUserLinkRequest value)

public BatchUpdateUserLinksRequest.Builder addRequests(UpdateUserLinkRequest value)

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

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

Parameter
NameDescription
valueUpdateUserLinkRequest
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

addRequests(UpdateUserLinkRequest.Builder builderForValue)

public BatchUpdateUserLinksRequest.Builder addRequests(UpdateUserLinkRequest.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueUpdateUserLinkRequest.Builder
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

addRequests(int index, UpdateUserLinkRequest value)

public BatchUpdateUserLinksRequest.Builder addRequests(int index, UpdateUserLinkRequest value)

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

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

Parameters
NameDescription
indexint
valueUpdateUserLinkRequest
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

addRequests(int index, UpdateUserLinkRequest.Builder builderForValue)

public BatchUpdateUserLinksRequest.Builder addRequests(int index, UpdateUserLinkRequest.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueUpdateUserLinkRequest.Builder
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

addRequestsBuilder()

public UpdateUserLinkRequest.Builder addRequestsBuilder()

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

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

Returns
TypeDescription
UpdateUserLinkRequest.Builder

addRequestsBuilder(int index)

public UpdateUserLinkRequest.Builder addRequestsBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateUserLinkRequest.Builder

build()

public BatchUpdateUserLinksRequest build()
Returns
TypeDescription
BatchUpdateUserLinksRequest

buildPartial()

public BatchUpdateUserLinksRequest buildPartial()
Returns
TypeDescription
BatchUpdateUserLinksRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public BatchUpdateUserLinksRequest.Builder clearParent()

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

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

Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

This builder for chaining.

clearRequests()

public BatchUpdateUserLinksRequest.Builder clearRequests()

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

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

Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

clone()

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

getDefaultInstanceForType()

public BatchUpdateUserLinksRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchUpdateUserLinksRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

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 all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

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

Returns
TypeDescription
ByteString

The bytes for parent.

getRequests(int index)

public UpdateUserLinkRequest getRequests(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateUserLinkRequest

getRequestsBuilder(int index)

public UpdateUserLinkRequest.Builder getRequestsBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateUserLinkRequest.Builder

getRequestsBuilderList()

public List<UpdateUserLinkRequest.Builder> getRequestsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getRequestsCount()

public int getRequestsCount()

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

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

Returns
TypeDescription
int

getRequestsList()

public List<UpdateUserLinkRequest> getRequestsList()

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

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

Returns
TypeDescription
List<UpdateUserLinkRequest>

getRequestsOrBuilder(int index)

public UpdateUserLinkRequestOrBuilder getRequestsOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UpdateUserLinkRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateUserLinkRequestOrBuilder> getRequestsOrBuilderList()

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

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchUpdateUserLinksRequest other)

public BatchUpdateUserLinksRequest.Builder mergeFrom(BatchUpdateUserLinksRequest other)
Parameter
NameDescription
otherBatchUpdateUserLinksRequest
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeRequests(int index)

public BatchUpdateUserLinksRequest.Builder removeRequests(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public BatchUpdateUserLinksRequest.Builder setParent(String value)

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BatchUpdateUserLinksRequest.Builder setParentBytes(ByteString value)

Required. The account or property that all user links in the request are for. The parent field in the UpdateUserLinkRequest messages must either be empty or match this field. Example format: accounts/1234

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

This builder for chaining.

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

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

setRequests(int index, UpdateUserLinkRequest value)

public BatchUpdateUserLinksRequest.Builder setRequests(int index, UpdateUserLinkRequest value)

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

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

Parameters
NameDescription
indexint
valueUpdateUserLinkRequest
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

setRequests(int index, UpdateUserLinkRequest.Builder builderForValue)

public BatchUpdateUserLinksRequest.Builder setRequests(int index, UpdateUserLinkRequest.Builder builderForValue)

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

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

Parameters
NameDescription
indexint
builderForValueUpdateUserLinkRequest.Builder
Returns
TypeDescription
BatchUpdateUserLinksRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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