Class ReceivePacketsResponse.Builder (0.11.0)

public static final class ReceivePacketsResponse.Builder extends GeneratedMessageV3.Builder<ReceivePacketsResponse.Builder> implements ReceivePacketsResponseOrBuilder

Response message from ReceivePackets.

Protobuf type google.cloud.visionai.v1.ReceivePacketsResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReceivePacketsResponse build()
Returns
Type Description
ReceivePacketsResponse

buildPartial()

public ReceivePacketsResponse buildPartial()
Returns
Type Description
ReceivePacketsResponse

clear()

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

clearControl()

public ReceivePacketsResponse.Builder clearControl()

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Returns
Type Description
ReceivePacketsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPacket()

public ReceivePacketsResponse.Builder clearPacket()

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Returns
Type Description
ReceivePacketsResponse.Builder

clearResponse()

public ReceivePacketsResponse.Builder clearResponse()
Returns
Type Description
ReceivePacketsResponse.Builder

clone()

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

getControl()

public ReceivePacketsControlResponse getControl()

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Returns
Type Description
ReceivePacketsControlResponse

The control.

getControlBuilder()

public ReceivePacketsControlResponse.Builder getControlBuilder()

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Returns
Type Description
ReceivePacketsControlResponse.Builder

getControlOrBuilder()

public ReceivePacketsControlResponseOrBuilder getControlOrBuilder()

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Returns
Type Description
ReceivePacketsControlResponseOrBuilder

getDefaultInstanceForType()

public ReceivePacketsResponse getDefaultInstanceForType()
Returns
Type Description
ReceivePacketsResponse

getDescriptorForType()

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

getPacket()

public Packet getPacket()

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Returns
Type Description
Packet

The packet.

getPacketBuilder()

public Packet.Builder getPacketBuilder()

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Returns
Type Description
Packet.Builder

getPacketOrBuilder()

public PacketOrBuilder getPacketOrBuilder()

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Returns
Type Description
PacketOrBuilder

getResponseCase()

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

hasControl()

public boolean hasControl()

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Returns
Type Description
boolean

Whether the control field is set.

hasPacket()

public boolean hasPacket()

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Returns
Type Description
boolean

Whether the packet field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeControl(ReceivePacketsControlResponse value)

public ReceivePacketsResponse.Builder mergeControl(ReceivePacketsControlResponse value)

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Parameter
Name Description
value ReceivePacketsControlResponse
Returns
Type Description
ReceivePacketsResponse.Builder

mergeFrom(ReceivePacketsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePacket(Packet value)

public ReceivePacketsResponse.Builder mergePacket(Packet value)

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Parameter
Name Description
value Packet
Returns
Type Description
ReceivePacketsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setControl(ReceivePacketsControlResponse value)

public ReceivePacketsResponse.Builder setControl(ReceivePacketsControlResponse value)

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Parameter
Name Description
value ReceivePacketsControlResponse
Returns
Type Description
ReceivePacketsResponse.Builder

setControl(ReceivePacketsControlResponse.Builder builderForValue)

public ReceivePacketsResponse.Builder setControl(ReceivePacketsControlResponse.Builder builderForValue)

A control message from the server.

.google.cloud.visionai.v1.ReceivePacketsControlResponse control = 3;

Parameter
Name Description
builderForValue ReceivePacketsControlResponse.Builder
Returns
Type Description
ReceivePacketsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPacket(Packet value)

public ReceivePacketsResponse.Builder setPacket(Packet value)

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Parameter
Name Description
value Packet
Returns
Type Description
ReceivePacketsResponse.Builder

setPacket(Packet.Builder builderForValue)

public ReceivePacketsResponse.Builder setPacket(Packet.Builder builderForValue)

A genuine data payload originating from the sender.

.google.cloud.visionai.v1.Packet packet = 1;

Parameter
Name Description
builderForValue Packet.Builder
Returns
Type Description
ReceivePacketsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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