Class ReceiveEventsRequest.Builder (0.1.0)

public static final class ReceiveEventsRequest.Builder extends GeneratedMessageV3.Builder<ReceiveEventsRequest.Builder> implements ReceiveEventsRequestOrBuilder

Request message for ReceiveEvents.

Protobuf type google.cloud.visionai.v1.ReceiveEventsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReceiveEventsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

build()

public ReceiveEventsRequest build()
Returns
Type Description
ReceiveEventsRequest

buildPartial()

public ReceiveEventsRequest buildPartial()
Returns
Type Description
ReceiveEventsRequest

clear()

public ReceiveEventsRequest.Builder clear()
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

clearCommitRequest()

public ReceiveEventsRequest.Builder clearCommitRequest()

This request checkpoints the consumer's read progress.

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

Returns
Type Description
ReceiveEventsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ReceiveEventsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReceiveEventsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

clearRequest()

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

clearSetupRequest()

public ReceiveEventsRequest.Builder clearSetupRequest()

The setup request to setup the RPC connection.

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

Returns
Type Description
ReceiveEventsRequest.Builder

clone()

public ReceiveEventsRequest.Builder clone()
Returns
Type Description
ReceiveEventsRequest.Builder
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.

getCommitRequestBuilder()

public CommitRequest.Builder getCommitRequestBuilder()

This request checkpoints the consumer's read progress.

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

Returns
Type Description
CommitRequest.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRequestCase()

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

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.

getSetupRequestBuilder()

public ReceiveEventsRequest.SetupRequest.Builder getSetupRequestBuilder()

The setup request to setup the RPC connection.

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

Returns
Type Description
ReceiveEventsRequest.SetupRequest.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCommitRequest(CommitRequest value)

public ReceiveEventsRequest.Builder mergeCommitRequest(CommitRequest value)

This request checkpoints the consumer's read progress.

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

Parameter
Name Description
value CommitRequest
Returns
Type Description
ReceiveEventsRequest.Builder

mergeFrom(ReceiveEventsRequest other)

public ReceiveEventsRequest.Builder mergeFrom(ReceiveEventsRequest other)
Parameter
Name Description
other ReceiveEventsRequest
Returns
Type Description
ReceiveEventsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReceiveEventsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReceiveEventsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

mergeSetupRequest(ReceiveEventsRequest.SetupRequest value)

public ReceiveEventsRequest.Builder mergeSetupRequest(ReceiveEventsRequest.SetupRequest value)

The setup request to setup the RPC connection.

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

Parameter
Name Description
value ReceiveEventsRequest.SetupRequest
Returns
Type Description
ReceiveEventsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReceiveEventsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

setCommitRequest(CommitRequest value)

public ReceiveEventsRequest.Builder setCommitRequest(CommitRequest value)

This request checkpoints the consumer's read progress.

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

Parameter
Name Description
value CommitRequest
Returns
Type Description
ReceiveEventsRequest.Builder

setCommitRequest(CommitRequest.Builder builderForValue)

public ReceiveEventsRequest.Builder setCommitRequest(CommitRequest.Builder builderForValue)

This request checkpoints the consumer's read progress.

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

Parameter
Name Description
builderForValue CommitRequest.Builder
Returns
Type Description
ReceiveEventsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReceiveEventsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReceiveEventsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides

setSetupRequest(ReceiveEventsRequest.SetupRequest value)

public ReceiveEventsRequest.Builder setSetupRequest(ReceiveEventsRequest.SetupRequest value)

The setup request to setup the RPC connection.

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

Parameter
Name Description
value ReceiveEventsRequest.SetupRequest
Returns
Type Description
ReceiveEventsRequest.Builder

setSetupRequest(ReceiveEventsRequest.SetupRequest.Builder builderForValue)

public ReceiveEventsRequest.Builder setSetupRequest(ReceiveEventsRequest.SetupRequest.Builder builderForValue)

The setup request to setup the RPC connection.

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

Parameter
Name Description
builderForValue ReceiveEventsRequest.SetupRequest.Builder
Returns
Type Description
ReceiveEventsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReceiveEventsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReceiveEventsRequest.Builder
Overrides