Class ListAdSenseLinksResponse.Builder (0.44.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
TypeDescription
Descriptor

Methods

public ListAdSenseLinksResponse.Builder addAdsenseLinks(AdSenseLink value)

List of AdSenseLinks.

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

Parameter
NameDescription
valueAdSenseLink
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder addAdsenseLinks(AdSenseLink.Builder builderForValue)

List of AdSenseLinks.

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

Parameter
NameDescription
builderForValueAdSenseLink.Builder
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder addAdsenseLinks(int index, AdSenseLink value)

List of AdSenseLinks.

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

Parameters
NameDescription
indexint
valueAdSenseLink
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder addAdsenseLinks(int index, AdSenseLink.Builder builderForValue)

List of AdSenseLinks.

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

Parameters
NameDescription
indexint
builderForValueAdSenseLink.Builder
Returns
TypeDescription
ListAdSenseLinksResponse.Builder

addAdsenseLinksBuilder()

public AdSenseLink.Builder addAdsenseLinksBuilder()

List of AdSenseLinks.

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

Returns
TypeDescription
AdSenseLink.Builder

addAdsenseLinksBuilder(int index)

public AdSenseLink.Builder addAdsenseLinksBuilder(int index)

List of AdSenseLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AdSenseLink.Builder
public ListAdSenseLinksResponse.Builder addAllAdsenseLinks(Iterable<? extends AdSenseLink> values)

List of AdSenseLinks.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAdSenseLinksResponse build()
Returns
TypeDescription
ListAdSenseLinksResponse

buildPartial()

public ListAdSenseLinksResponse buildPartial()
Returns
TypeDescription
ListAdSenseLinksResponse

clear()

public ListAdSenseLinksResponse.Builder clear()
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
Overrides
public ListAdSenseLinksResponse.Builder clearAdsenseLinks()

List of AdSenseLinks.

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

Returns
TypeDescription
ListAdSenseLinksResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAdSenseLinksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAdSenseLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

List of AdSenseLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AdSenseLink

getAdsenseLinksBuilder(int index)

public AdSenseLink.Builder getAdsenseLinksBuilder(int index)

List of AdSenseLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AdSenseLink.Builder

getAdsenseLinksBuilderList()

public List<AdSenseLink.Builder> getAdsenseLinksBuilderList()

List of AdSenseLinks.

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

Returns
TypeDescription
List<Builder>

getAdsenseLinksCount()

public int getAdsenseLinksCount()

List of AdSenseLinks.

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

Returns
TypeDescription
int
public List<AdSenseLink> getAdsenseLinksList()

List of AdSenseLinks.

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

Returns
TypeDescription
List<AdSenseLink>

getAdsenseLinksOrBuilder(int index)

public AdSenseLinkOrBuilder getAdsenseLinksOrBuilder(int index)

List of AdSenseLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AdSenseLinkOrBuilder

getAdsenseLinksOrBuilderList()

public List<? extends AdSenseLinkOrBuilder> getAdsenseLinksOrBuilderList()

List of AdSenseLinks.

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

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

getDefaultInstanceForType()

public ListAdSenseLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAdSenseLinksResponse

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAdSenseLinksResponse other)

public ListAdSenseLinksResponse.Builder mergeFrom(ListAdSenseLinksResponse other)
Parameter
NameDescription
otherListAdSenseLinksResponse
Returns
TypeDescription
ListAdSenseLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

List of AdSenseLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder setAdsenseLinks(int index, AdSenseLink value)

List of AdSenseLinks.

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

Parameters
NameDescription
indexint
valueAdSenseLink
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
public ListAdSenseLinksResponse.Builder setAdsenseLinks(int index, AdSenseLink.Builder builderForValue)

List of AdSenseLinks.

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

Parameters
NameDescription
indexint
builderForValueAdSenseLink.Builder
Returns
TypeDescription
ListAdSenseLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAdSenseLinksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAdSenseLinksResponse.Builder
Overrides