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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateUserLinksRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
build()
public BatchCreateUserLinksRequest build()
buildPartial()
public BatchCreateUserLinksRequest buildPartial()
clear()
public BatchCreateUserLinksRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateUserLinksRequest.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateUserLinksRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
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];
clone()
public BatchCreateUserLinksRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateUserLinksRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateUserLinksRequest other)
public BatchCreateUserLinksRequest.Builder mergeFrom(BatchCreateUserLinksRequest other)
public BatchCreateUserLinksRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateUserLinksRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateUserLinksRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateUserLinksRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateUserLinksRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateUserLinksRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides