Class ListAudiencesResponse (0.14.0)

public final class ListAudiencesResponse extends GeneratedMessageV3 implements ListAudiencesResponseOrBuilder

Response message for ListAudiences RPC.

Protobuf type google.analytics.admin.v1alpha.ListAudiencesResponse

Static Fields

AUDIENCES_FIELD_NUMBER

public static final int AUDIENCES_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 ListAudiencesResponse getDefaultInstance()
Returns
TypeDescription
ListAudiencesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListAudiencesResponse prototype)

public static ListAudiencesResponse.Builder newBuilder(ListAudiencesResponse prototype)
Parameter
NameDescription
prototypeListAudiencesResponse
Returns
TypeDescription
ListAudiencesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAudiences(int index)

public Audience getAudiences(int index)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Audience

getAudiencesCount()

public int getAudiencesCount()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Returns
TypeDescription
int

getAudiencesList()

public List<Audience> getAudiencesList()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Returns
TypeDescription
List<Audience>

getAudiencesOrBuilder(int index)

public AudienceOrBuilder getAudiencesOrBuilder(int index)

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AudienceOrBuilder

getAudiencesOrBuilderList()

public List<? extends AudienceOrBuilder> getAudiencesOrBuilderList()

List of Audiences.

repeated .google.analytics.admin.v1alpha.Audience audiences = 1;

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

getDefaultInstanceForType()

public ListAudiencesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAudiencesResponse

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<ListAudiencesResponse> getParserForType()
Returns
TypeDescription
Parser<ListAudiencesResponse>
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 ListAudiencesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListAudiencesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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