Class BatchGetUserLinksResponse.Builder (0.25.0)

public static final class BatchGetUserLinksResponse.Builder extends GeneratedMessageV3.Builder<BatchGetUserLinksResponse.Builder> implements BatchGetUserLinksResponseOrBuilder

Response message for BatchGetUserLinks RPC.

Protobuf type google.analytics.admin.v1alpha.BatchGetUserLinksResponse

Static Methods

getDescriptor()

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

Methods

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

The requested user links.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The requested user links.

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

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

The requested user links.

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

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

The requested user links.

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

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

The requested user links.

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

Parameters
NameDescription
indexint
builderForValueUserLink.Builder
Returns
TypeDescription
BatchGetUserLinksResponse.Builder

addUserLinksBuilder()

public UserLink.Builder addUserLinksBuilder()

The requested user links.

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

Returns
TypeDescription
UserLink.Builder

addUserLinksBuilder(int index)

public UserLink.Builder addUserLinksBuilder(int index)

The requested user links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink.Builder

build()

public BatchGetUserLinksResponse build()
Returns
TypeDescription
BatchGetUserLinksResponse

buildPartial()

public BatchGetUserLinksResponse buildPartial()
Returns
TypeDescription
BatchGetUserLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

The requested user links.

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

Returns
TypeDescription
BatchGetUserLinksResponse.Builder

clone()

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

getDefaultInstanceForType()

public BatchGetUserLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchGetUserLinksResponse

getDescriptorForType()

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

The requested user links.

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 requested user links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink.Builder

getUserLinksBuilderList()

public List<UserLink.Builder> getUserLinksBuilderList()

The requested user links.

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

Returns
TypeDescription
List<Builder>

getUserLinksCount()

public int getUserLinksCount()

The requested user links.

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

Returns
TypeDescription
int
public List<UserLink> getUserLinksList()

The requested user links.

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

Returns
TypeDescription
List<UserLink>

getUserLinksOrBuilder(int index)

public UserLinkOrBuilder getUserLinksOrBuilder(int index)

The requested user links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLinkOrBuilder

getUserLinksOrBuilderList()

public List<? extends UserLinkOrBuilder> getUserLinksOrBuilderList()

The requested user links.

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(BatchGetUserLinksResponse other)

public BatchGetUserLinksResponse.Builder mergeFrom(BatchGetUserLinksResponse other)
Parameter
NameDescription
otherBatchGetUserLinksResponse
Returns
TypeDescription
BatchGetUserLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The requested user links.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetUserLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The requested user links.

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

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

The requested user links.

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

Parameters
NameDescription
indexint
builderForValueUserLink.Builder
Returns
TypeDescription
BatchGetUserLinksResponse.Builder