Class ReceiveEventsRequest (0.8.0)

public final class ReceiveEventsRequest extends GeneratedMessageV3 implements ReceiveEventsRequestOrBuilder

Request message for ReceiveEvents.

Protobuf type google.cloud.visionai.v1.ReceiveEventsRequest

Static Fields

COMMIT_REQUEST_FIELD_NUMBER

public static final int COMMIT_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

SETUP_REQUEST_FIELD_NUMBER

public static final int SETUP_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReceiveEventsRequest getDefaultInstance()
Returns
Type Description
ReceiveEventsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ReceiveEventsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCommitRequest()

public CommitRequest getCommitRequest()

This request checkpoints the consumer's read progress.

.google.cloud.visionai.v1.CommitRequest commit_request = 2;

Returns
Type Description
CommitRequest

The commitRequest.

getCommitRequestOrBuilder()

public CommitRequestOrBuilder getCommitRequestOrBuilder()

This request checkpoints the consumer's read progress.

.google.cloud.visionai.v1.CommitRequest commit_request = 2;

Returns
Type Description
CommitRequestOrBuilder

getDefaultInstanceForType()

public ReceiveEventsRequest getDefaultInstanceForType()
Returns
Type Description
ReceiveEventsRequest

getParserForType()

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

getRequestCase()

public ReceiveEventsRequest.RequestCase getRequestCase()
Returns
Type Description
ReceiveEventsRequest.RequestCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSetupRequest()

public ReceiveEventsRequest.SetupRequest getSetupRequest()

The setup request to setup the RPC connection.

.google.cloud.visionai.v1.ReceiveEventsRequest.SetupRequest setup_request = 1;

Returns
Type Description
ReceiveEventsRequest.SetupRequest

The setupRequest.

getSetupRequestOrBuilder()

public ReceiveEventsRequest.SetupRequestOrBuilder getSetupRequestOrBuilder()

The setup request to setup the RPC connection.

.google.cloud.visionai.v1.ReceiveEventsRequest.SetupRequest setup_request = 1;

Returns
Type Description
ReceiveEventsRequest.SetupRequestOrBuilder

hasCommitRequest()

public boolean hasCommitRequest()

This request checkpoints the consumer's read progress.

.google.cloud.visionai.v1.CommitRequest commit_request = 2;

Returns
Type Description
boolean

Whether the commitRequest field is set.

hasSetupRequest()

public boolean hasSetupRequest()

The setup request to setup the RPC connection.

.google.cloud.visionai.v1.ReceiveEventsRequest.SetupRequest setup_request = 1;

Returns
Type Description
boolean

Whether the setupRequest 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 ReceiveEventsRequest.Builder newBuilderForType()
Returns
Type Description
ReceiveEventsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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