Class ListGoogleAdsLinksResponse (0.24.0)

public final class ListGoogleAdsLinksResponse extends GeneratedMessageV3 implements ListGoogleAdsLinksResponseOrBuilder

Response message for ListGoogleAdsLinks RPC.

Protobuf type google.analytics.admin.v1alpha.ListGoogleAdsLinksResponse

Static Fields

public static final int GOOGLE_ADS_LINKS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListGoogleAdsLinksResponse getDefaultInstance()
Returns
TypeDescription
ListGoogleAdsLinksResponse

getDescriptor()

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

newBuilder()

public static ListGoogleAdsLinksResponse.Builder newBuilder()
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder

newBuilder(ListGoogleAdsLinksResponse prototype)

public static ListGoogleAdsLinksResponse.Builder newBuilder(ListGoogleAdsLinksResponse prototype)
Parameter
NameDescription
prototypeListGoogleAdsLinksResponse
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListGoogleAdsLinksResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListGoogleAdsLinksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListGoogleAdsLinksResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListGoogleAdsLinksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListGoogleAdsLinksResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListGoogleAdsLinksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListGoogleAdsLinksResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListGoogleAdsLinksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListGoogleAdsLinksResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListGoogleAdsLinksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListGoogleAdsLinksResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListGoogleAdsLinksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGoogleAdsLinksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListGoogleAdsLinksResponse> parser()
Returns
TypeDescription
Parser<ListGoogleAdsLinksResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListGoogleAdsLinksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListGoogleAdsLinksResponse
public GoogleAdsLink getGoogleAdsLinks(int index)

List of GoogleAdsLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GoogleAdsLink

getGoogleAdsLinksCount()

public int getGoogleAdsLinksCount()

List of GoogleAdsLinks.

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

Returns
TypeDescription
int
public List<GoogleAdsLink> getGoogleAdsLinksList()

List of GoogleAdsLinks.

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

Returns
TypeDescription
List<GoogleAdsLink>

getGoogleAdsLinksOrBuilder(int index)

public GoogleAdsLinkOrBuilder getGoogleAdsLinksOrBuilder(int index)

List of GoogleAdsLinks.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
GoogleAdsLinkOrBuilder

getGoogleAdsLinksOrBuilderList()

public List<? extends GoogleAdsLinkOrBuilder> getGoogleAdsLinksOrBuilderList()

List of GoogleAdsLinks.

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

Returns
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.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.

getParserForType()

public Parser<ListGoogleAdsLinksResponse> getParserForType()
Returns
TypeDescription
Parser<ListGoogleAdsLinksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListGoogleAdsLinksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListGoogleAdsLinksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListGoogleAdsLinksResponse.Builder toBuilder()
Returns
TypeDescription
ListGoogleAdsLinksResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException