Class ListGoogleAdsLinksResponse.Builder (0.14.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
TypeDescription
Descriptor

Methods

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

List of GoogleAdsLinks.

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

Parameter
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1beta.GoogleAdsLink>
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder addGoogleAdsLinks(GoogleAdsLink value)

List of GoogleAdsLinks.

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

Parameter
NameDescription
valueGoogleAdsLink
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder addGoogleAdsLinks(GoogleAdsLink.Builder builderForValue)

List of GoogleAdsLinks.

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

Parameter
NameDescription
builderForValueGoogleAdsLink.Builder
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder
public ListGoogleAdsLinksResponse.Builder addGoogleAdsLinks(int index, GoogleAdsLink value)

List of GoogleAdsLinks.

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

Parameters
NameDescription
indexint
valueGoogleAdsLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueGoogleAdsLink.Builder
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder

addGoogleAdsLinksBuilder()

public GoogleAdsLink.Builder addGoogleAdsLinksBuilder()

List of GoogleAdsLinks.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
GoogleAdsLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGoogleAdsLinksResponse build()
Returns
TypeDescription
ListGoogleAdsLinksResponse

buildPartial()

public ListGoogleAdsLinksResponse buildPartial()
Returns
TypeDescription
ListGoogleAdsLinksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

List of GoogleAdsLinks.

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

Returns
TypeDescription
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
TypeDescription
ListGoogleAdsLinksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListGoogleAdsLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListGoogleAdsLinksResponse

getDescriptorForType()

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

List of GoogleAdsLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GoogleAdsLink

getGoogleAdsLinksBuilder(int index)

public GoogleAdsLink.Builder getGoogleAdsLinksBuilder(int index)

List of GoogleAdsLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GoogleAdsLink.Builder

getGoogleAdsLinksBuilderList()

public List<GoogleAdsLink.Builder> getGoogleAdsLinksBuilderList()

List of GoogleAdsLinks.

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

Returns
TypeDescription
List<Builder>

getGoogleAdsLinksCount()

public int getGoogleAdsLinksCount()

List of GoogleAdsLinks.

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

Returns
TypeDescription
int
public List<GoogleAdsLink> getGoogleAdsLinksList()

List of GoogleAdsLinks.

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

Returns
TypeDescription
List<GoogleAdsLink>

getGoogleAdsLinksOrBuilder(int index)

public GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(int index)

List of GoogleAdsLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GoogleAdsLinkOrBuilder

getGoogleAdsLinksOrBuilderList()

public List<? extends GoogleAdsLinkOrBuilder> getGoogleAdsLinksOrBuilderList()

List of GoogleAdsLinks.

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

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

public ListGoogleAdsLinksResponse.Builder mergeFrom(ListGoogleAdsLinksResponse other)
Parameter
NameDescription
otherListGoogleAdsLinksResponse
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

List of GoogleAdsLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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