public final class AppPlatformEventBody extends GeneratedMessageV3 implements AppPlatformEventBodyOrBuilder
Message of content of appPlatform event
Protobuf type google.cloud.visionai.v1.AppPlatformEventBody
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EVENT_MESSAGE_FIELD_NUMBER
public static final int EVENT_MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AppPlatformEventBody getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AppPlatformEventBody.Builder newBuilder()
newBuilder(AppPlatformEventBody prototype)
public static AppPlatformEventBody.Builder newBuilder(AppPlatformEventBody prototype)
parseDelimitedFrom(InputStream input)
public static AppPlatformEventBody parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppPlatformEventBody parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AppPlatformEventBody parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppPlatformEventBody parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AppPlatformEventBody parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppPlatformEventBody parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static AppPlatformEventBody parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AppPlatformEventBody parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static AppPlatformEventBody parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppPlatformEventBody parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AppPlatformEventBody parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppPlatformEventBody parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AppPlatformEventBody> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AppPlatformEventBody getDefaultInstanceForType()
getEventId()
public String getEventId()
User defined Event Id, used to classify event, within a delivery interval,
events from the same application instance with the same id will be
de-duplicated & only first one will be sent out. Empty event_id will be
treated as "".
string event_id = 3;
Returns |
Type |
Description |
String |
The eventId.
|
getEventIdBytes()
public ByteString getEventIdBytes()
User defined Event Id, used to classify event, within a delivery interval,
events from the same application instance with the same id will be
de-duplicated & only first one will be sent out. Empty event_id will be
treated as "".
string event_id = 3;
Returns |
Type |
Description |
ByteString |
The bytes for eventId.
|
getEventMessage()
public String getEventMessage()
Human readable string of the event like "There are more than 6 people in
the scene". or "Shelf is empty!".
string event_message = 1;
Returns |
Type |
Description |
String |
The eventMessage.
|
getEventMessageBytes()
public ByteString getEventMessageBytes()
Human readable string of the event like "There are more than 6 people in
the scene". or "Shelf is empty!".
string event_message = 1;
Returns |
Type |
Description |
ByteString |
The bytes for eventMessage.
|
getParserForType()
public Parser<AppPlatformEventBody> getParserForType()
Overrides
getPayload()
public Struct getPayload()
For the case of Pub/Sub, it will be stored in the message attributes.
pubsub.proto
.google.protobuf.Struct payload = 2;
Returns |
Type |
Description |
Struct |
The payload.
|
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder()
For the case of Pub/Sub, it will be stored in the message attributes.
pubsub.proto
.google.protobuf.Struct payload = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasPayload()
public boolean hasPayload()
For the case of Pub/Sub, it will be stored in the message attributes.
pubsub.proto
.google.protobuf.Struct payload = 2;
Returns |
Type |
Description |
boolean |
Whether the payload field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AppPlatformEventBody.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppPlatformEventBody.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AppPlatformEventBody.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides