public static final class ListDeviceSessionsResponse.Builder extends GeneratedMessageV3.Builder<ListDeviceSessionsResponse.Builder> implements ListDeviceSessionsResponseOrBuilder
Response message for DirectAccessService.ListDeviceSessions.
Protobuf type google.cloud.devicestreaming.v1.ListDeviceSessionsResponse
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
addAllDeviceSessions(Iterable<? extends DeviceSession> values)
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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.devicestreaming.v1.DeviceSession>
|
addDeviceSessions(DeviceSession value)
public ListDeviceSessionsResponse.Builder addDeviceSessions(DeviceSession value)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
addDeviceSessions(DeviceSession.Builder builderForValue)
public ListDeviceSessionsResponse.Builder addDeviceSessions(DeviceSession.Builder builderForValue)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
addDeviceSessions(int index, DeviceSession value)
public ListDeviceSessionsResponse.Builder addDeviceSessions(int index, DeviceSession value)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
addDeviceSessions(int index, DeviceSession.Builder builderForValue)
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;
addDeviceSessionsBuilder()
public DeviceSession.Builder addDeviceSessionsBuilder()
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
addDeviceSessionsBuilder(int index)
public DeviceSession.Builder addDeviceSessionsBuilder(int index)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceSessionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDeviceSessionsResponse build()
buildPartial()
public ListDeviceSessionsResponse buildPartial()
clear()
public ListDeviceSessionsResponse.Builder clear()
Overrides
clearDeviceSessions()
public ListDeviceSessionsResponse.Builder clearDeviceSessions()
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
clearField(Descriptors.FieldDescriptor field)
public ListDeviceSessionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListDeviceSessionsResponse.Builder 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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDeviceSessionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListDeviceSessionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListDeviceSessionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDeviceSessions(int index)
public DeviceSession getDeviceSessions(int index)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
Parameter |
Name |
Description |
index |
int
|
getDeviceSessionsBuilder(int index)
public DeviceSession.Builder getDeviceSessionsBuilder(int index)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
Parameter |
Name |
Description |
index |
int
|
getDeviceSessionsBuilderList()
public List<DeviceSession.Builder> getDeviceSessionsBuilderList()
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
getDeviceSessionsCount()
public int getDeviceSessionsCount()
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
Returns |
Type |
Description |
int |
|
getDeviceSessionsList()
public List<DeviceSession> getDeviceSessionsList()
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
getDeviceSessionsOrBuilder(int index)
public DeviceSessionOrBuilder getDeviceSessionsOrBuilder(int index)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
Parameter |
Name |
Description |
index |
int
|
getDeviceSessionsOrBuilderList()
public List<? extends DeviceSessionOrBuilder> getDeviceSessionsOrBuilderList()
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.devicestreaming.v1.DeviceSessionOrBuilder> |
|
getNextPageToken()
public String 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;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListDeviceSessionsResponse other)
public ListDeviceSessionsResponse.Builder mergeFrom(ListDeviceSessionsResponse other)
public ListDeviceSessionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDeviceSessionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceSessionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeDeviceSessions(int index)
public ListDeviceSessionsResponse.Builder removeDeviceSessions(int index)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
Parameter |
Name |
Description |
index |
int
|
setDeviceSessions(int index, DeviceSession value)
public ListDeviceSessionsResponse.Builder setDeviceSessions(int index, DeviceSession value)
The sessions matching the specified filter in the given cloud project.
repeated .google.cloud.devicestreaming.v1.DeviceSession device_sessions = 1;
setDeviceSessions(int index, DeviceSession.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeviceSessionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListDeviceSessionsResponse.Builder setNextPageToken(String 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;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListDeviceSessionsResponse.Builder setNextPageTokenBytes(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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDeviceSessionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeviceSessionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides