Class ListDataStreamsResponse (0.40.0)

public final class ListDataStreamsResponse extends GeneratedMessageV3 implements ListDataStreamsResponseOrBuilder

Response message for ListDataStreams RPC.

Protobuf type google.analytics.admin.v1alpha.ListDataStreamsResponse

Static Fields

DATA_STREAMS_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(ListDataStreamsResponse prototype)

public static ListDataStreamsResponse.Builder newBuilder(ListDataStreamsResponse prototype)
Parameter
NameDescription
prototypeListDataStreamsResponse
Returns
TypeDescription
ListDataStreamsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataStreams(int index)

public DataStream getDataStreams(int index)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStream

getDataStreamsCount()

public int getDataStreamsCount()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Returns
TypeDescription
int

getDataStreamsList()

public List<DataStream> getDataStreamsList()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Returns
TypeDescription
List<DataStream>

getDataStreamsOrBuilder(int index)

public DataStreamOrBuilder getDataStreamsOrBuilder(int index)

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataStreamOrBuilder

getDataStreamsOrBuilderList()

public List<? extends DataStreamOrBuilder> getDataStreamsOrBuilderList()

List of DataStreams.

repeated .google.analytics.admin.v1alpha.DataStream data_streams = 1;

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

getDefaultInstanceForType()

public ListDataStreamsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataStreamsResponse

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<ListDataStreamsResponse> getParserForType()
Returns
TypeDescription
Parser<ListDataStreamsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ListDataStreamsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDataStreamsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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