public final class StateNotificationConfig extends GeneratedMessageV3 implements StateNotificationConfigOrBuilder
The configuration for notification of new states received from the device.
Protobuf type google.cloud.iot.v1.StateNotificationConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
PUBSUB_TOPIC_NAME_FIELD_NUMBER
public static final int PUBSUB_TOPIC_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static StateNotificationConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StateNotificationConfig.Builder newBuilder()
newBuilder(StateNotificationConfig prototype)
public static StateNotificationConfig.Builder newBuilder(StateNotificationConfig prototype)
public static StateNotificationConfig parseDelimitedFrom(InputStream input)
public static StateNotificationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StateNotificationConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StateNotificationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StateNotificationConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StateNotificationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StateNotificationConfig parseFrom(CodedInputStream input)
public static StateNotificationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StateNotificationConfig parseFrom(InputStream input)
public static StateNotificationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StateNotificationConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StateNotificationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StateNotificationConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public StateNotificationConfig getDefaultInstanceForType()
getParserForType()
public Parser<StateNotificationConfig> getParserForType()
Overrides
getPubsubTopicName()
public String getPubsubTopicName()
A Cloud Pub/Sub topic name. For example,
projects/myProject/topics/deviceEvents
.
string pubsub_topic_name = 1;
Returns |
---|
Type | Description |
String | The pubsubTopicName.
|
getPubsubTopicNameBytes()
public ByteString getPubsubTopicNameBytes()
A Cloud Pub/Sub topic name. For example,
projects/myProject/topics/deviceEvents
.
string pubsub_topic_name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for pubsubTopicName.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StateNotificationConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StateNotificationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public StateNotificationConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides