Class ListStreamObjectsResponse.Builder (1.46.0)

public static final class ListStreamObjectsResponse.Builder extends GeneratedMessageV3.Builder<ListStreamObjectsResponse.Builder> implements ListStreamObjectsResponseOrBuilder

Response containing the objects for a stream.

Protobuf type google.cloud.datastream.v1.ListStreamObjectsResponse

Static Methods

getDescriptor()

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

Methods

addAllStreamObjects(Iterable<? extends StreamObject> values)

public ListStreamObjectsResponse.Builder addAllStreamObjects(Iterable<? extends StreamObject> values)

List of stream objects.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.datastream.v1.StreamObject>
Returns
Type Description
ListStreamObjectsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListStreamObjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

addStreamObjects(StreamObject value)

public ListStreamObjectsResponse.Builder addStreamObjects(StreamObject value)

List of stream objects.

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

Parameter
Name Description
value StreamObject
Returns
Type Description
ListStreamObjectsResponse.Builder

addStreamObjects(StreamObject.Builder builderForValue)

public ListStreamObjectsResponse.Builder addStreamObjects(StreamObject.Builder builderForValue)

List of stream objects.

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

Parameter
Name Description
builderForValue StreamObject.Builder
Returns
Type Description
ListStreamObjectsResponse.Builder

addStreamObjects(int index, StreamObject value)

public ListStreamObjectsResponse.Builder addStreamObjects(int index, StreamObject value)

List of stream objects.

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

Parameters
Name Description
index int
value StreamObject
Returns
Type Description
ListStreamObjectsResponse.Builder

addStreamObjects(int index, StreamObject.Builder builderForValue)

public ListStreamObjectsResponse.Builder addStreamObjects(int index, StreamObject.Builder builderForValue)

List of stream objects.

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

Parameters
Name Description
index int
builderForValue StreamObject.Builder
Returns
Type Description
ListStreamObjectsResponse.Builder

addStreamObjectsBuilder()

public StreamObject.Builder addStreamObjectsBuilder()

List of stream objects.

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

Returns
Type Description
StreamObject.Builder

addStreamObjectsBuilder(int index)

public StreamObject.Builder addStreamObjectsBuilder(int index)

List of stream objects.

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

Parameter
Name Description
index int
Returns
Type Description
StreamObject.Builder

build()

public ListStreamObjectsResponse build()
Returns
Type Description
ListStreamObjectsResponse

buildPartial()

public ListStreamObjectsResponse buildPartial()
Returns
Type Description
ListStreamObjectsResponse

clear()

public ListStreamObjectsResponse.Builder clear()
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListStreamObjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

clearNextPageToken()

public ListStreamObjectsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListStreamObjectsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListStreamObjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

clearStreamObjects()

public ListStreamObjectsResponse.Builder clearStreamObjects()

List of stream objects.

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

Returns
Type Description
ListStreamObjectsResponse.Builder

clone()

public ListStreamObjectsResponse.Builder clone()
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListStreamObjectsResponse getDefaultInstanceForType()
Returns
Type Description
ListStreamObjectsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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

getStreamObjectsBuilder(int index)

public StreamObject.Builder getStreamObjectsBuilder(int index)

List of stream objects.

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

Parameter
Name Description
index int
Returns
Type Description
StreamObject.Builder

getStreamObjectsBuilderList()

public List<StreamObject.Builder> getStreamObjectsBuilderList()

List of stream objects.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListStreamObjectsResponse other)

public ListStreamObjectsResponse.Builder mergeFrom(ListStreamObjectsResponse other)
Parameter
Name Description
other ListStreamObjectsResponse
Returns
Type Description
ListStreamObjectsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListStreamObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListStreamObjectsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListStreamObjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

removeStreamObjects(int index)

public ListStreamObjectsResponse.Builder removeStreamObjects(int index)

List of stream objects.

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

Parameter
Name Description
index int
Returns
Type Description
ListStreamObjectsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListStreamObjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

setNextPageToken(String value)

public ListStreamObjectsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListStreamObjectsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListStreamObjectsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListStreamObjectsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListStreamObjectsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides

setStreamObjects(int index, StreamObject value)

public ListStreamObjectsResponse.Builder setStreamObjects(int index, StreamObject value)

List of stream objects.

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

Parameters
Name Description
index int
value StreamObject
Returns
Type Description
ListStreamObjectsResponse.Builder

setStreamObjects(int index, StreamObject.Builder builderForValue)

public ListStreamObjectsResponse.Builder setStreamObjects(int index, StreamObject.Builder builderForValue)

List of stream objects.

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

Parameters
Name Description
index int
builderForValue StreamObject.Builder
Returns
Type Description
ListStreamObjectsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListStreamObjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListStreamObjectsResponse.Builder
Overrides