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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListStreamObjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addStreamObjects(StreamObject value)
public ListStreamObjectsResponse.Builder addStreamObjects(StreamObject value)
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
addStreamObjects(StreamObject.Builder builderForValue)
public ListStreamObjectsResponse.Builder addStreamObjects(StreamObject.Builder builderForValue)
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
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;
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;
addStreamObjectsBuilder()
public StreamObject.Builder addStreamObjectsBuilder()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
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
|
build()
public ListStreamObjectsResponse build()
buildPartial()
public ListStreamObjectsResponse buildPartial()
clear()
public ListStreamObjectsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListStreamObjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListStreamObjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStreamObjects()
public ListStreamObjectsResponse.Builder clearStreamObjects()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
clone()
public ListStreamObjectsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListStreamObjectsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getStreamObjectsBuilderList()
public List<StreamObject.Builder> getStreamObjectsBuilderList()
List of stream objects.
repeated .google.cloud.datastream.v1.StreamObject stream_objects = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListStreamObjectsResponse other)
public ListStreamObjectsResponse.Builder mergeFrom(ListStreamObjectsResponse other)
public ListStreamObjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListStreamObjectsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListStreamObjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListStreamObjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListStreamObjectsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListStreamObjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides