Class ListUserLinksResponse.Builder (0.19.0)

public static final class ListUserLinksResponse.Builder extends GeneratedMessageV3.Builder<ListUserLinksResponse.Builder> implements ListUserLinksResponseOrBuilder

Response message for ListUserLinks RPC.

Protobuf type google.analytics.admin.v1alpha.ListUserLinksResponse

Static Methods

getDescriptor()

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

Methods

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Parameters
NameDescription
indexint
builderForValueUserLink.Builder
Returns
TypeDescription
ListUserLinksResponse.Builder

addUserLinksBuilder()

public UserLink.Builder addUserLinksBuilder()

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Returns
TypeDescription
UserLink.Builder

addUserLinksBuilder(int index)

public UserLink.Builder addUserLinksBuilder(int index)

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink.Builder

build()

public ListUserLinksResponse build()
Returns
TypeDescription
ListUserLinksResponse

buildPartial()

public ListUserLinksResponse buildPartial()
Returns
TypeDescription
ListUserLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListUserLinksResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ListUserLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Returns
TypeDescription
ListUserLinksResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListUserLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListUserLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

public UserLink getUserLinks(int index)

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink

getUserLinksBuilder(int index)

public UserLink.Builder getUserLinksBuilder(int index)

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLink.Builder

getUserLinksBuilderList()

public List<UserLink.Builder> getUserLinksBuilderList()

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Returns
TypeDescription
List<Builder>

getUserLinksCount()

public int getUserLinksCount()

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Returns
TypeDescription
int
public List<UserLink> getUserLinksList()

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Returns
TypeDescription
List<UserLink>

getUserLinksOrBuilder(int index)

public UserLinkOrBuilder getUserLinksOrBuilder(int index)

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
UserLinkOrBuilder

getUserLinksOrBuilderList()

public List<? extends UserLinkOrBuilder> getUserLinksOrBuilderList()

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

public ListUserLinksResponse.Builder mergeFrom(ListUserLinksResponse other)
Parameter
NameDescription
otherListUserLinksResponse
Returns
TypeDescription
ListUserLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListUserLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListUserLinksResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListUserLinksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListUserLinksResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListUserLinksResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

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

List of UserLinks. These will be ordered stably, but in an arbitrary order.

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

Parameters
NameDescription
indexint
builderForValueUserLink.Builder
Returns
TypeDescription
ListUserLinksResponse.Builder