Interface StatusUpdateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StatusUpdate,StatusUpdate.Builder
@Generated
public interface StatusUpdateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsProperties(String key) A map of properties with information about this device.A comma-separated list of "features" that this device supports.com.google.protobuf.ByteStringA comma-separated list of "features" that this device supports.Deprecated.intA map of properties with information about this device.A map of properties with information about this device.getPropertiesOrDefault(String key, String defaultValue) A map of properties with information about this device.A map of properties with information about this device.getState()The device's stateintThe device's stateMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
int getStateValue()The device's state
.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
StatusUpdate.DeviceState getState()The device's state
.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;- Returns:
- The state.
-
getPropertiesCount
int getPropertiesCount()A map of properties with information about this device.
map<string, string> properties = 2; -
containsProperties
A map of properties with information about this device.
map<string, string> properties = 2; -
getProperties
Deprecated.UsegetPropertiesMap()instead. -
getPropertiesMap
A map of properties with information about this device.
map<string, string> properties = 2; -
getPropertiesOrDefault
A map of properties with information about this device.
map<string, string> properties = 2; -
getPropertiesOrThrow
A map of properties with information about this device.
map<string, string> properties = 2; -
getFeatures
String getFeatures()A comma-separated list of "features" that this device supports.
string features = 3;- Returns:
- The features.
-
getFeaturesBytes
com.google.protobuf.ByteString getFeaturesBytes()A comma-separated list of "features" that this device supports.
string features = 3;- Returns:
- The bytes for features.
-