Class ReceivePacketsRequest.Builder (0.1.0)

public static final class ReceivePacketsRequest.Builder extends GeneratedMessageV3.Builder<ReceivePacketsRequest.Builder> implements ReceivePacketsRequestOrBuilder

Request message for receiving packets.

Protobuf type google.cloud.visionai.v1.ReceivePacketsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReceivePacketsRequest build()
Returns
Type Description
ReceivePacketsRequest

buildPartial()

public ReceivePacketsRequest buildPartial()
Returns
Type Description
ReceivePacketsRequest

clear()

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

clearCommitRequest()

public ReceivePacketsRequest.Builder clearCommitRequest()

This request checkpoints the consumer's read progress.

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

Returns
Type Description
ReceivePacketsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequest()

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

clearSetupRequest()

public ReceivePacketsRequest.Builder clearSetupRequest()

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

Returns
Type Description
ReceivePacketsRequest.Builder

clone()

public ReceivePacketsRequest.Builder clone()
Returns
Type Description
ReceivePacketsRequest.Builder
Overrides

getCommitRequest()

public CommitRequest getCommitRequest()

This request checkpoints the consumer's read progress.

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

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 = 7;

Returns
Type Description
CommitRequest.Builder

getCommitRequestOrBuilder()

public CommitRequestOrBuilder getCommitRequestOrBuilder()

This request checkpoints the consumer's read progress.

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

Returns
Type Description
CommitRequestOrBuilder

getDefaultInstanceForType()

public ReceivePacketsRequest getDefaultInstanceForType()
Returns
Type Description
ReceivePacketsRequest

getDescriptorForType()

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

getRequestCase()

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

getSetupRequest()

public ReceivePacketsRequest.SetupRequest getSetupRequest()

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

Returns
Type Description
ReceivePacketsRequest.SetupRequest

The setupRequest.

getSetupRequestBuilder()

public ReceivePacketsRequest.SetupRequest.Builder getSetupRequestBuilder()

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

Returns
Type Description
ReceivePacketsRequest.SetupRequest.Builder

getSetupRequestOrBuilder()

public ReceivePacketsRequest.SetupRequestOrBuilder getSetupRequestOrBuilder()

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

Returns
Type Description
ReceivePacketsRequest.SetupRequestOrBuilder

hasCommitRequest()

public boolean hasCommitRequest()

This request checkpoints the consumer's read progress.

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

Returns
Type Description
boolean

Whether the commitRequest field is set.

hasSetupRequest()

public boolean hasSetupRequest()

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

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 ReceivePacketsRequest.Builder mergeCommitRequest(CommitRequest value)

This request checkpoints the consumer's read progress.

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

Parameter
Name Description
value CommitRequest
Returns
Type Description
ReceivePacketsRequest.Builder

mergeFrom(ReceivePacketsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSetupRequest(ReceivePacketsRequest.SetupRequest value)

public ReceivePacketsRequest.Builder mergeSetupRequest(ReceivePacketsRequest.SetupRequest value)

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommitRequest(CommitRequest value)

public ReceivePacketsRequest.Builder setCommitRequest(CommitRequest value)

This request checkpoints the consumer's read progress.

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

Parameter
Name Description
value CommitRequest
Returns
Type Description
ReceivePacketsRequest.Builder

setCommitRequest(CommitRequest.Builder builderForValue)

public ReceivePacketsRequest.Builder setCommitRequest(CommitRequest.Builder builderForValue)

This request checkpoints the consumer's read progress.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSetupRequest(ReceivePacketsRequest.SetupRequest value)

public ReceivePacketsRequest.Builder setSetupRequest(ReceivePacketsRequest.SetupRequest value)

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

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

setSetupRequest(ReceivePacketsRequest.SetupRequest.Builder builderForValue)

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

The request to setup the initial state of session.

The client must send and only send this as the first message.

.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;

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

setUnknownFields(UnknownFieldSet unknownFields)

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