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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Name | Description |
values | Iterable<? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequest>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateUserLinksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public BatchUpdateUserLinksRequest build()
Returns
buildPartial()
public BatchUpdateUserLinksRequest buildPartial()
Returns
clear()
public BatchUpdateUserLinksRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchUpdateUserLinksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchUpdateUserLinksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public BatchUpdateUserLinksRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchUpdateUserLinksRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
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
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
List<? extends com.google.analytics.admin.v1alpha.UpdateUserLinkRequestOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchUpdateUserLinksRequest other)
public BatchUpdateUserLinksRequest.Builder mergeFrom(BatchUpdateUserLinksRequest other)
Parameter
Returns
public BatchUpdateUserLinksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchUpdateUserLinksRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateUserLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchUpdateUserLinksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchUpdateUserLinksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchUpdateUserLinksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides