Class BatchGetUserLinksResponse.Builder (0.18.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

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
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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The requested user links.

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

Parameter
NameDescription
valueUserLink
Returns
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
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
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

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

buildPartial()

public BatchGetUserLinksResponse buildPartial()
Returns

clear()

public BatchGetUserLinksResponse.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

The requested user links.

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

Returns

clone()

public BatchGetUserLinksResponse.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public BatchGetUserLinksResponse getDefaultInstanceForType()
Returns

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The requested user links.

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

Parameter
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetUserLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetUserLinksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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
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