Class ListAdSenseLinksResponse.Builder (0.57.0)

public static final class ListAdSenseLinksResponse.Builder extends GeneratedMessageV3.Builder<ListAdSenseLinksResponse.Builder> implements ListAdSenseLinksResponseOrBuilder

Response message for ListAdSenseLinks method.

Protobuf type google.analytics.admin.v1alpha.ListAdSenseLinksResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public ListAdSenseLinksResponse.Builder addAdsenseLinks(AdSenseLink value)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
value AdSenseLink
Returns
Type Description
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder addAdsenseLinks(AdSenseLink.Builder builderForValue)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
builderForValue AdSenseLink.Builder
Returns
Type Description
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder addAdsenseLinks(int index, AdSenseLink value)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameters
Name Description
index int
value AdSenseLink
Returns
Type Description
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder addAdsenseLinks(int index, AdSenseLink.Builder builderForValue)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameters
Name Description
index int
builderForValue AdSenseLink.Builder
Returns
Type Description
ListAdSenseLinksResponse.Builder

addAdsenseLinksBuilder()

public AdSenseLink.Builder addAdsenseLinksBuilder()

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Returns
Type Description
AdSenseLink.Builder

addAdsenseLinksBuilder(int index)

public AdSenseLink.Builder addAdsenseLinksBuilder(int index)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSenseLink.Builder
public ListAdSenseLinksResponse.Builder addAllAdsenseLinks(Iterable<? extends AdSenseLink> values)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.AdSenseLink>
Returns
Type Description
ListAdSenseLinksResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAdSenseLinksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides

build()

public ListAdSenseLinksResponse build()
Returns
Type Description
ListAdSenseLinksResponse

buildPartial()

public ListAdSenseLinksResponse buildPartial()
Returns
Type Description
ListAdSenseLinksResponse

clear()

public ListAdSenseLinksResponse.Builder clear()
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides
public ListAdSenseLinksResponse.Builder clearAdsenseLinks()

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Returns
Type Description
ListAdSenseLinksResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAdSenseLinksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides

clearNextPageToken()

public ListAdSenseLinksResponse.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
Type Description
ListAdSenseLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAdSenseLinksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides

clone()

public ListAdSenseLinksResponse.Builder clone()
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides
public AdSenseLink getAdsenseLinks(int index)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSenseLink

getAdsenseLinksBuilder(int index)

public AdSenseLink.Builder getAdsenseLinksBuilder(int index)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSenseLink.Builder

getAdsenseLinksBuilderList()

public List<AdSenseLink.Builder> getAdsenseLinksBuilderList()

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Returns
Type Description
List<Builder>

getAdsenseLinksCount()

public int getAdsenseLinksCount()

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Returns
Type Description
int
public List<AdSenseLink> getAdsenseLinksList()

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Returns
Type Description
List<AdSenseLink>

getAdsenseLinksOrBuilder(int index)

public AdSenseLinkOrBuilder getAdsenseLinksOrBuilder(int index)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
index int
Returns
Type Description
AdSenseLinkOrBuilder

getAdsenseLinksOrBuilderList()

public List<? extends AdSenseLinkOrBuilder> getAdsenseLinksOrBuilderList()

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder>

getDefaultInstanceForType()

public ListAdSenseLinksResponse getDefaultInstanceForType()
Returns
Type Description
ListAdSenseLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAdSenseLinksResponse other)

public ListAdSenseLinksResponse.Builder mergeFrom(ListAdSenseLinksResponse other)
Parameter
Name Description
other ListAdSenseLinksResponse
Returns
Type Description
ListAdSenseLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAdSenseLinksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAdSenseLinksResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAdSenseLinksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides
public ListAdSenseLinksResponse.Builder removeAdsenseLinks(int index)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder setAdsenseLinks(int index, AdSenseLink value)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameters
Name Description
index int
value AdSenseLink
Returns
Type Description
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder setAdsenseLinks(int index, AdSenseLink.Builder builderForValue)

List of AdSenseLinks.

repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1;

Parameters
Name Description
index int
builderForValue AdSenseLink.Builder
Returns
Type Description
ListAdSenseLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAdSenseLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides

setNextPageToken(String value)

public ListAdSenseLinksResponse.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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAdSenseLinksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAdSenseLinksResponse.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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAdSenseLinksResponse.Builder

This builder for chaining.

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

public ListAdSenseLinksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAdSenseLinksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAdSenseLinksResponse.Builder
Overrides