Class ListStreamObjectsResponse.Builder (1.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1.StreamObject>
Returns
TypeDescription
ListStreamObjectsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListStreamObjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueStreamObject
Returns
TypeDescription
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
NameDescription
builderForValueStreamObject.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueStreamObject
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStreamObject.Builder
Returns
TypeDescription
ListStreamObjectsResponse.Builder

addStreamObjectsBuilder()

public StreamObject.Builder addStreamObjectsBuilder()

List of stream objects.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StreamObject.Builder

build()

public ListStreamObjectsResponse build()
Returns
TypeDescription
ListStreamObjectsResponse

buildPartial()

public ListStreamObjectsResponse buildPartial()
Returns
TypeDescription
ListStreamObjectsResponse

clear()

public ListStreamObjectsResponse.Builder clear()
Returns
TypeDescription
ListStreamObjectsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListStreamObjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListStreamObjectsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListStreamObjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListStreamObjectsResponse.Builder
Overrides

clearStreamObjects()

public ListStreamObjectsResponse.Builder clearStreamObjects()

List of stream objects.

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

Returns
TypeDescription
ListStreamObjectsResponse.Builder

clone()

public ListStreamObjectsResponse.Builder clone()
Returns
TypeDescription
ListStreamObjectsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListStreamObjectsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListStreamObjectsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StreamObject

getStreamObjectsBuilder(int index)

public StreamObject.Builder getStreamObjectsBuilder(int index)

List of stream objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamObject.Builder

getStreamObjectsBuilderList()

public List<StreamObject.Builder> getStreamObjectsBuilderList()

List of stream objects.

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

Returns
TypeDescription
List<Builder>

getStreamObjectsCount()

public int getStreamObjectsCount()

List of stream objects.

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

Returns
TypeDescription
int

getStreamObjectsList()

public List<StreamObject> getStreamObjectsList()

List of stream objects.

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

Returns
TypeDescription
List<StreamObject>

getStreamObjectsOrBuilder(int index)

public StreamObjectOrBuilder getStreamObjectsOrBuilder(int index)

List of stream objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamObjectOrBuilder

getStreamObjectsOrBuilderList()

public List<? extends StreamObjectOrBuilder> getStreamObjectsOrBuilderList()

List of stream objects.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListStreamObjectsResponse other)

public ListStreamObjectsResponse.Builder mergeFrom(ListStreamObjectsResponse other)
Parameter
NameDescription
otherListStreamObjectsResponse
Returns
TypeDescription
ListStreamObjectsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListStreamObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListStreamObjectsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListStreamObjectsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListStreamObjectsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListStreamObjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListStreamObjectsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListStreamObjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueStreamObject
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStreamObject.Builder
Returns
TypeDescription
ListStreamObjectsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListStreamObjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListStreamObjectsResponse.Builder
Overrides