public final class StatusUpdate extends GeneratedMessage implements StatusUpdateOrBuilder
A StatusUpdate message given over the ADB protocol for the device state.
Protobuf type google.cloud.devicestreaming.v1.StatusUpdate
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static StatusUpdate getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StatusUpdate.Builder newBuilder()
newBuilder(StatusUpdate prototype)
public static StatusUpdate.Builder newBuilder(StatusUpdate prototype)
public static StatusUpdate parseDelimitedFrom(InputStream input)
public static StatusUpdate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StatusUpdate parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatusUpdate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StatusUpdate parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusUpdate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatusUpdate parseFrom(CodedInputStream input)
public static StatusUpdate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StatusUpdate parseFrom(InputStream input)
public static StatusUpdate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StatusUpdate parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatusUpdate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StatusUpdate> parser()
Methods
containsProperties(String key)
public boolean containsProperties(String key)
A map of properties with information about this device.
map<string, string> properties = 2;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public StatusUpdate getDefaultInstanceForType()
getFeatures()
public String getFeatures()
A comma-separated list of "features" that this device supports.
string features = 3;
| Returns |
| Type |
Description |
String |
The features.
|
getFeaturesBytes()
public ByteString getFeaturesBytes()
A comma-separated list of "features" that this device supports.
string features = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for features.
|
getParserForType()
public Parser<StatusUpdate> getParserForType()
Overrides
getProperties() (deprecated)
public Map<String,String> getProperties()
getPropertiesCount()
public int getPropertiesCount()
A map of properties with information about this device.
map<string, string> properties = 2;
| Returns |
| Type |
Description |
int |
|
getPropertiesMap()
public Map<String,String> getPropertiesMap()
A map of properties with information about this device.
map<string, string> properties = 2;
getPropertiesOrDefault(String key, String defaultValue)
public String getPropertiesOrDefault(String key, String defaultValue)
A map of properties with information about this device.
map<string, string> properties = 2;
| Returns |
| Type |
Description |
String |
|
getPropertiesOrThrow(String key)
public String getPropertiesOrThrow(String key)
A map of properties with information about this device.
map<string, string> properties = 2;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getState()
public StatusUpdate.DeviceState getState()
The device's state
.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;
getStateValue()
public int getStateValue()
The device's state
.google.cloud.devicestreaming.v1.StatusUpdate.DeviceState state = 1;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StatusUpdate.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected StatusUpdate.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public StatusUpdate.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides