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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListStreamObjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addStreamObjects(StreamObject value)
public ListStreamObjectsResponse.Builder addStreamObjects(StreamObject value)
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addStreamObjectsBuilder()
public StreamObject.Builder addStreamObjectsBuilder()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Returns
addStreamObjectsBuilder(int index)
public StreamObject.Builder addStreamObjectsBuilder(int index)
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Parameter
Returns
build()
public ListStreamObjectsResponse build()
Returns
buildPartial()
public ListStreamObjectsResponse buildPartial()
Returns
clear()
public ListStreamObjectsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListStreamObjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListStreamObjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStreamObjects()
public ListStreamObjectsResponse.Builder clearStreamObjects()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Returns
clone()
public ListStreamObjectsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListStreamObjectsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getStreamObjectsBuilder(int index)
public StreamObject.Builder getStreamObjectsBuilder(int index)
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Parameter
Returns
getStreamObjectsBuilderList()
public List<StreamObject.Builder> getStreamObjectsBuilderList()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Returns
getStreamObjectsCount()
public int getStreamObjectsCount()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Returns
getStreamObjectsList()
public List<StreamObject> getStreamObjectsList()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Returns
getStreamObjectsOrBuilder(int index)
public StreamObjectOrBuilder getStreamObjectsOrBuilder(int index)
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListStreamObjectsResponse other)
public ListStreamObjectsResponse.Builder mergeFrom(ListStreamObjectsResponse other)
Parameter
Returns
public ListStreamObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListStreamObjectsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListStreamObjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeStreamObjects(int index)
public ListStreamObjectsResponse.Builder removeStreamObjects(int index)
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListStreamObjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListStreamObjectsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListStreamObjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides