public static final class BatchCreateUserLinksRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateUserLinksRequest.Builder> implements BatchCreateUserLinksRequestOrBuilder
Request message for BatchCreateUserLinks RPC.
Protobuf type google.analytics.admin.v1alpha.BatchCreateUserLinksRequest
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 CreateUserLinkRequest> values)
public BatchCreateUserLinksRequest.Builder addAllRequests(Iterable<? extends CreateUserLinkRequest> values)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.analytics.admin.v1alpha.CreateUserLinkRequest>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateUserLinksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addRequests(CreateUserLinkRequest value)
public BatchCreateUserLinksRequest.Builder addRequests(CreateUserLinkRequest value)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addRequests(CreateUserLinkRequest.Builder builderForValue)
public BatchCreateUserLinksRequest.Builder addRequests(CreateUserLinkRequest.Builder builderForValue)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addRequests(int index, CreateUserLinkRequest value)
public BatchCreateUserLinksRequest.Builder addRequests(int index, CreateUserLinkRequest value)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addRequests(int index, CreateUserLinkRequest.Builder builderForValue)
public BatchCreateUserLinksRequest.Builder addRequests(int index, CreateUserLinkRequest.Builder builderForValue)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addRequestsBuilder()
public CreateUserLinkRequest.Builder addRequestsBuilder()
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
addRequestsBuilder(int index)
public CreateUserLinkRequest.Builder addRequestsBuilder(int index)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
build()
public BatchCreateUserLinksRequest build()
Returns
buildPartial()
public BatchCreateUserLinksRequest buildPartial()
Returns
clear()
public BatchCreateUserLinksRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateUserLinksRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNotifyNewUsers()
public BatchCreateUserLinksRequest.Builder clearNotifyNewUsers()
Optional. If set, then email the new users notifying them that they've been granted
permissions to the resource. Regardless of whether this is set or not,
notify_new_user field inside each individual request is ignored.
bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateUserLinksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public BatchCreateUserLinksRequest.Builder clearParent()
Required. The account or property that all user links in the request are for.
This field is required. The parent field in the CreateUserLinkRequest
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 BatchCreateUserLinksRequest.Builder clearRequests()
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public BatchCreateUserLinksRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchCreateUserLinksRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNotifyNewUsers()
public boolean getNotifyNewUsers()
Optional. If set, then email the new users notifying them that they've been granted
permissions to the resource. Regardless of whether this is set or not,
notify_new_user field inside each individual request is ignored.
bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The notifyNewUsers.
|
getParent()
public String getParent()
Required. The account or property that all user links in the request are for.
This field is required. The parent field in the CreateUserLinkRequest
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.
This field is required. The parent field in the CreateUserLinkRequest
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 CreateUserLinkRequest getRequests(int index)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getRequestsBuilder(int index)
public CreateUserLinkRequest.Builder getRequestsBuilder(int index)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getRequestsBuilderList()
public List<CreateUserLinkRequest.Builder> getRequestsBuilderList()
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getRequestsCount()
public int getRequestsCount()
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getRequestsList()
public List<CreateUserLinkRequest> getRequestsList()
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getRequestsOrBuilder(int index)
public CreateUserLinkRequestOrBuilder getRequestsOrBuilder(int index)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getRequestsOrBuilderList()
public List<? extends CreateUserLinkRequestOrBuilder> getRequestsOrBuilderList()
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.analytics.admin.v1alpha.CreateUserLinkRequestOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchCreateUserLinksRequest other)
public BatchCreateUserLinksRequest.Builder mergeFrom(BatchCreateUserLinksRequest other)
Parameter
Returns
public BatchCreateUserLinksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchCreateUserLinksRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateUserLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeRequests(int index)
public BatchCreateUserLinksRequest.Builder removeRequests(int index)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateUserLinksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNotifyNewUsers(boolean value)
public BatchCreateUserLinksRequest.Builder setNotifyNewUsers(boolean value)
Optional. If set, then email the new users notifying them that they've been granted
permissions to the resource. Regardless of whether this is set or not,
notify_new_user field inside each individual request is ignored.
bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | boolean
The notifyNewUsers to set.
|
Returns
setParent(String value)
public BatchCreateUserLinksRequest.Builder setParent(String value)
Required. The account or property that all user links in the request are for.
This field is required. The parent field in the CreateUserLinkRequest
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 BatchCreateUserLinksRequest.Builder setParentBytes(ByteString value)
Required. The account or property that all user links in the request are for.
This field is required. The parent field in the CreateUserLinkRequest
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 BatchCreateUserLinksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRequests(int index, CreateUserLinkRequest value)
public BatchCreateUserLinksRequest.Builder setRequests(int index, CreateUserLinkRequest value)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setRequests(int index, CreateUserLinkRequest.Builder builderForValue)
public BatchCreateUserLinksRequest.Builder setRequests(int index, CreateUserLinkRequest.Builder builderForValue)
Required. The requests specifying the user links to create.
A maximum of 1000 user links can be created in a batch.
repeated .google.analytics.admin.v1alpha.CreateUserLinkRequest requests = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateUserLinksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides