Class BatchCreateUserLinksResponse.Builder (0.14.0)

public static final class BatchCreateUserLinksResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateUserLinksResponse.Builder> implements BatchCreateUserLinksResponseOrBuilder

Response message for BatchCreateUserLinks RPC.

Protobuf type google.analytics.admin.v1alpha.BatchCreateUserLinksResponse

Static Methods

getDescriptor()

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

Methods

public BatchCreateUserLinksResponse.Builder addAllUserLinks(Iterable<? extends UserLink> values)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameter
NameDescription
valueUserLink
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder
public BatchCreateUserLinksResponse.Builder addUserLinks(UserLink.Builder builderForValue)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameter
NameDescription
builderForValueUserLink.Builder
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder
public BatchCreateUserLinksResponse.Builder addUserLinks(int index, UserLink value)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameters
NameDescription
indexint
valueUserLink
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder
public BatchCreateUserLinksResponse.Builder addUserLinks(int index, UserLink.Builder builderForValue)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameters
NameDescription
indexint
builderForValueUserLink.Builder
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder

addUserLinksBuilder()

public UserLink.Builder addUserLinksBuilder()

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Returns
TypeDescription
UserLink.Builder

addUserLinksBuilder(int index)

public UserLink.Builder addUserLinksBuilder(int index)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink.Builder

build()

public BatchCreateUserLinksResponse build()
Returns
TypeDescription
BatchCreateUserLinksResponse

buildPartial()

public BatchCreateUserLinksResponse buildPartial()
Returns
TypeDescription
BatchCreateUserLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Returns
TypeDescription
BatchCreateUserLinksResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchCreateUserLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateUserLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
public UserLink getUserLinks(int index)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink

getUserLinksBuilder(int index)

public UserLink.Builder getUserLinksBuilder(int index)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink.Builder

getUserLinksBuilderList()

public List<UserLink.Builder> getUserLinksBuilderList()

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Returns
TypeDescription
List<Builder>

getUserLinksCount()

public int getUserLinksCount()

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Returns
TypeDescription
int
public List<UserLink> getUserLinksList()

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Returns
TypeDescription
List<UserLink>

getUserLinksOrBuilder(int index)

public UserLinkOrBuilder getUserLinksOrBuilder(int index)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLinkOrBuilder

getUserLinksOrBuilderList()

public List<? extends UserLinkOrBuilder> getUserLinksOrBuilderList()

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchCreateUserLinksResponse other)

public BatchCreateUserLinksResponse.Builder mergeFrom(BatchCreateUserLinksResponse other)
Parameter
NameDescription
otherBatchCreateUserLinksResponse
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateUserLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder
Overrides
public BatchCreateUserLinksResponse.Builder removeUserLinks(int index)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchCreateUserLinksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder
Overrides
public BatchCreateUserLinksResponse.Builder setUserLinks(int index, UserLink value)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameters
NameDescription
indexint
valueUserLink
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder
public BatchCreateUserLinksResponse.Builder setUserLinks(int index, UserLink.Builder builderForValue)

The user links created.

repeated .google.analytics.admin.v1alpha.UserLink user_links = 1;

Parameters
NameDescription
indexint
builderForValueUserLink.Builder
Returns
TypeDescription
BatchCreateUserLinksResponse.Builder