Class ReceiveEventsResponse (0.5.0)

public final class ReceiveEventsResponse extends GeneratedMessageV3 implements ReceiveEventsResponseOrBuilder

Response message for the ReceiveEvents.

Protobuf type google.cloud.visionai.v1.ReceiveEventsResponse

Static Fields

CONTROL_FIELD_NUMBER

public static final int CONTROL_FIELD_NUMBER
Field Value
Type Description
int

EVENT_UPDATE_FIELD_NUMBER

public static final int EVENT_UPDATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReceiveEventsResponse getDefaultInstance()
Returns
Type Description
ReceiveEventsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReceiveEventsResponse.Builder newBuilder()
Returns
Type Description
ReceiveEventsResponse.Builder

newBuilder(ReceiveEventsResponse prototype)

public static ReceiveEventsResponse.Builder newBuilder(ReceiveEventsResponse prototype)
Parameter
Name Description
prototype ReceiveEventsResponse
Returns
Type Description
ReceiveEventsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ReceiveEventsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReceiveEventsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReceiveEventsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReceiveEventsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReceiveEventsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReceiveEventsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReceiveEventsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReceiveEventsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReceiveEventsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReceiveEventsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReceiveEventsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReceiveEventsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReceiveEventsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReceiveEventsResponse> parser()
Returns
Type Description
Parser<ReceiveEventsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getControl()

public ReceiveEventsControlResponse getControl()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
ReceiveEventsControlResponse

The control.

getControlOrBuilder()

public ReceiveEventsControlResponseOrBuilder getControlOrBuilder()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
ReceiveEventsControlResponseOrBuilder

getDefaultInstanceForType()

public ReceiveEventsResponse getDefaultInstanceForType()
Returns
Type Description
ReceiveEventsResponse

getEventUpdate()

public EventUpdate getEventUpdate()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
EventUpdate

The eventUpdate.

getEventUpdateOrBuilder()

public EventUpdateOrBuilder getEventUpdateOrBuilder()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
EventUpdateOrBuilder

getParserForType()

public Parser<ReceiveEventsResponse> getParserForType()
Returns
Type Description
Parser<ReceiveEventsResponse>
Overrides

getResponseCase()

public ReceiveEventsResponse.ResponseCase getResponseCase()
Returns
Type Description
ReceiveEventsResponse.ResponseCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasControl()

public boolean hasControl()

A control message from the server.

.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;

Returns
Type Description
boolean

Whether the control field is set.

hasEventUpdate()

public boolean hasEventUpdate()

The event update message.

.google.cloud.visionai.v1.EventUpdate event_update = 1;

Returns
Type Description
boolean

Whether the eventUpdate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReceiveEventsResponse.Builder newBuilderForType()
Returns
Type Description
ReceiveEventsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReceiveEventsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReceiveEventsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReceiveEventsResponse.Builder toBuilder()
Returns
Type Description
ReceiveEventsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException