Class ListDeviceSessionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDeviceSessionsResponse.Builder>
com.google.cloud.devicestreaming.v1.ListDeviceSessionsResponse.Builder
- All Implemented Interfaces:
ListDeviceSessionsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListDeviceSessionsResponse
public static final class ListDeviceSessionsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListDeviceSessionsResponse.Builder>
implements ListDeviceSessionsResponseOrBuilder
Response message for DirectAccessService.ListDeviceSessions.Protobuf type
google.cloud.devicestreaming.v1.ListDeviceSessionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllDeviceSessions(Iterable<? extends DeviceSession> values) The sessions matching the specified filter in the given cloud project.addDeviceSessions(int index, DeviceSession value) The sessions matching the specified filter in the given cloud project.addDeviceSessions(int index, DeviceSession.Builder builderForValue) The sessions matching the specified filter in the given cloud project.addDeviceSessions(DeviceSession value) The sessions matching the specified filter in the given cloud project.addDeviceSessions(DeviceSession.Builder builderForValue) The sessions matching the specified filter in the given cloud project.The sessions matching the specified filter in the given cloud project.addDeviceSessionsBuilder(int index) The sessions matching the specified filter in the given cloud project.build()clear()The sessions matching the specified filter in the given cloud project.A token, which can be sent as `page_token` to retrieve the next page.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDeviceSessions(int index) The sessions matching the specified filter in the given cloud project.getDeviceSessionsBuilder(int index) The sessions matching the specified filter in the given cloud project.The sessions matching the specified filter in the given cloud project.intThe sessions matching the specified filter in the given cloud project.The sessions matching the specified filter in the given cloud project.getDeviceSessionsOrBuilder(int index) The sessions matching the specified filter in the given cloud project.List<? extends DeviceSessionOrBuilder>The sessions matching the specified filter in the given cloud project.A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringA token, which can be sent as `page_token` to retrieve the next page.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDeviceSessions(int index) The sessions matching the specified filter in the given cloud project.setDeviceSessions(int index, DeviceSession value) The sessions matching the specified filter in the given cloud project.setDeviceSessions(int index, DeviceSession.Builder builderForValue) The sessions matching the specified filter in the given cloud project.setNextPageToken(String value) A token, which can be sent as `page_token` to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListDeviceSessionsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListDeviceSessionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListDeviceSessionsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDeviceSessionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListDeviceSessionsResponse.Builder>
-
mergeFrom
public ListDeviceSessionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDeviceSessionsResponse.Builder>- Throws:
IOException
-
getDeviceSessionsList
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;- Specified by:
getDeviceSessionsListin interfaceListDeviceSessionsResponseOrBuilder
-
getDeviceSessionsCount
public int getDeviceSessionsCount()The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;- Specified by:
getDeviceSessionsCountin interfaceListDeviceSessionsResponseOrBuilder
-
getDeviceSessions
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;- Specified by:
getDeviceSessionsin interfaceListDeviceSessionsResponseOrBuilder
-
setDeviceSessions
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
setDeviceSessions
public ListDeviceSessionsResponse.Builder setDeviceSessions(int index, DeviceSession.Builder builderForValue) The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
addDeviceSessions
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
addDeviceSessions
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
addDeviceSessions
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
addDeviceSessions
public ListDeviceSessionsResponse.Builder addDeviceSessions(int index, DeviceSession.Builder builderForValue) The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
addAllDeviceSessions
public ListDeviceSessionsResponse.Builder addAllDeviceSessions(Iterable<? extends DeviceSession> values) The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
clearDeviceSessions
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
removeDeviceSessions
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
getDeviceSessionsBuilder
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
getDeviceSessionsOrBuilder
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;- Specified by:
getDeviceSessionsOrBuilderin interfaceListDeviceSessionsResponseOrBuilder
-
getDeviceSessionsOrBuilderList
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;- Specified by:
getDeviceSessionsOrBuilderListin interfaceListDeviceSessionsResponseOrBuilder
-
addDeviceSessionsBuilder
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
addDeviceSessionsBuilder
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
getDeviceSessionsBuilderList
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1; -
getNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListDeviceSessionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListDeviceSessionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListDeviceSessionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-