Class ListGoogleAdsLinksResponse.Builder (0.62.0)

public static final class ListGoogleAdsLinksResponse.Builder extends GeneratedMessageV3.Builder<ListGoogleAdsLinksResponse.Builder> implements ListGoogleAdsLinksResponseOrBuilder

Response message for ListGoogleAdsLinks RPC.

Protobuf type google.analytics.admin.v1beta.ListGoogleAdsLinksResponse

Static Methods

getDescriptor()

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

Methods

public ListGoogleAdsLinksResponse.Builder addAllGoogleAdsLinks(Iterable<? extends GoogleAdsLink> values)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1beta.GoogleAdsLink>
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder addGoogleAdsLinks(GoogleAdsLink value)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
value GoogleAdsLink
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder addGoogleAdsLinks(GoogleAdsLink.Builder builderForValue)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
builderForValue GoogleAdsLink.Builder
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder addGoogleAdsLinks(int index, GoogleAdsLink value)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameters
Name Description
index int
value GoogleAdsLink
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder addGoogleAdsLinks(int index, GoogleAdsLink.Builder builderForValue)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameters
Name Description
index int
builderForValue GoogleAdsLink.Builder
Returns
Type Description
ListGoogleAdsLinksResponse.Builder

addGoogleAdsLinksBuilder()

public GoogleAdsLink.Builder addGoogleAdsLinksBuilder()

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Returns
Type Description
GoogleAdsLink.Builder

addGoogleAdsLinksBuilder(int index)

public GoogleAdsLink.Builder addGoogleAdsLinksBuilder(int index)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleAdsLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGoogleAdsLinksResponse build()
Returns
Type Description
ListGoogleAdsLinksResponse

buildPartial()

public ListGoogleAdsLinksResponse buildPartial()
Returns
Type Description
ListGoogleAdsLinksResponse

clear()

public ListGoogleAdsLinksResponse.Builder clear()
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Returns
Type Description
ListGoogleAdsLinksResponse.Builder

clearNextPageToken()

public ListGoogleAdsLinksResponse.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
ListGoogleAdsLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListGoogleAdsLinksResponse.Builder clone()
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
Overrides

getDefaultInstanceForType()

public ListGoogleAdsLinksResponse getDefaultInstanceForType()
Returns
Type Description
ListGoogleAdsLinksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public GoogleAdsLink getGoogleAdsLinks(int index)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleAdsLink

getGoogleAdsLinksBuilder(int index)

public GoogleAdsLink.Builder getGoogleAdsLinksBuilder(int index)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleAdsLink.Builder

getGoogleAdsLinksBuilderList()

public List<GoogleAdsLink.Builder> getGoogleAdsLinksBuilderList()

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Returns
Type Description
List<Builder>

getGoogleAdsLinksCount()

public int getGoogleAdsLinksCount()

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Returns
Type Description
int
public List<GoogleAdsLink> getGoogleAdsLinksList()

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Returns
Type Description
List<GoogleAdsLink>

getGoogleAdsLinksOrBuilder(int index)

public GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(int index)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
index int
Returns
Type Description
GoogleAdsLinkOrBuilder

getGoogleAdsLinksOrBuilderList()

public List<? extends GoogleAdsLinkOrBuilder> getGoogleAdsLinksOrBuilderList()

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Returns
Type Description
List<? extends com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder>

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGoogleAdsLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListGoogleAdsLinksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
Overrides
public ListGoogleAdsLinksResponse.Builder setGoogleAdsLinks(int index, GoogleAdsLink value)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameters
Name Description
index int
value GoogleAdsLink
Returns
Type Description
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder setGoogleAdsLinks(int index, GoogleAdsLink.Builder builderForValue)

List of GoogleAdsLinks.

repeated .google.analytics.admin.v1beta.GoogleAdsLink google_ads_links = 1;

Parameters
Name Description
index int
builderForValue GoogleAdsLink.Builder
Returns
Type Description
ListGoogleAdsLinksResponse.Builder

setNextPageToken(String value)

public ListGoogleAdsLinksResponse.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
ListGoogleAdsLinksResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGoogleAdsLinksResponse.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
ListGoogleAdsLinksResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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