Class ListStreamObjectsResponse (1.42.0)

public final class ListStreamObjectsResponse extends GeneratedMessageV3 implements ListStreamObjectsResponseOrBuilder

Response containing the objects for a stream.

Protobuf type google.cloud.datastream.v1.ListStreamObjectsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

STREAM_OBJECTS_FIELD_NUMBER

public static final int STREAM_OBJECTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListStreamObjectsResponse getDefaultInstance()
Returns
Type Description
ListStreamObjectsResponse

getDescriptor()

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

newBuilder()

public static ListStreamObjectsResponse.Builder newBuilder()
Returns
Type Description
ListStreamObjectsResponse.Builder

newBuilder(ListStreamObjectsResponse prototype)

public static ListStreamObjectsResponse.Builder newBuilder(ListStreamObjectsResponse prototype)
Parameter
Name Description
prototype ListStreamObjectsResponse
Returns
Type Description
ListStreamObjectsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListStreamObjectsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListStreamObjectsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListStreamObjectsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListStreamObjectsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListStreamObjectsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListStreamObjectsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListStreamObjectsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListStreamObjectsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListStreamObjectsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListStreamObjectsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListStreamObjectsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListStreamObjectsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListStreamObjectsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListStreamObjectsResponse> parser()
Returns
Type Description
Parser<ListStreamObjectsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListStreamObjectsResponse getDefaultInstanceForType()
Returns
Type Description
ListStreamObjectsResponse

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page.

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.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListStreamObjectsResponse> getParserForType()
Returns
Type Description
Parser<ListStreamObjectsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStreamObjects(int index)

public StreamObject getStreamObjects(int index)

List of stream objects.

repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;

Parameter
Name Description
index int
Returns
Type Description
StreamObject

getStreamObjectsCount()

public int getStreamObjectsCount()

List of stream objects.

repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;

Returns
Type Description
int

getStreamObjectsList()

public List<StreamObject> getStreamObjectsList()

List of stream objects.

repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;

Returns
Type Description
List<StreamObject>

getStreamObjectsOrBuilder(int index)

public StreamObjectOrBuilder getStreamObjectsOrBuilder(int index)

List of stream objects.

repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;

Parameter
Name Description
index int
Returns
Type Description
StreamObjectOrBuilder

getStreamObjectsOrBuilderList()

public List<? extends StreamObjectOrBuilder> getStreamObjectsOrBuilderList()

List of stream objects.

repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;

Returns
Type Description
List<? extends com.google.cloud.datastream.v1.StreamObjectOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListStreamObjectsResponse.Builder newBuilderForType()
Returns
Type Description
ListStreamObjectsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListStreamObjectsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListStreamObjectsResponse.Builder toBuilder()
Returns
Type Description
ListStreamObjectsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException