Class SendPacketsRequest.Builder (0.11.0)

public static final class SendPacketsRequest.Builder extends GeneratedMessageV3.Builder<SendPacketsRequest.Builder> implements SendPacketsRequestOrBuilder

Request message for sending packets.

Protobuf type google.cloud.visionai.v1.SendPacketsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SendPacketsRequest build()
Returns
Type Description
SendPacketsRequest

buildPartial()

public SendPacketsRequest buildPartial()
Returns
Type Description
SendPacketsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMetadata()

public SendPacketsRequest.Builder clearMetadata()

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Returns
Type Description
SendPacketsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPacket()

public SendPacketsRequest.Builder clearPacket()

Packets sent over the streaming rpc.

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

Returns
Type Description
SendPacketsRequest.Builder

clearRequest()

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

clone()

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

getDefaultInstanceForType()

public SendPacketsRequest getDefaultInstanceForType()
Returns
Type Description
SendPacketsRequest

getDescriptorForType()

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

getMetadata()

public RequestMetadata getMetadata()

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Returns
Type Description
RequestMetadata

The metadata.

getMetadataBuilder()

public RequestMetadata.Builder getMetadataBuilder()

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Returns
Type Description
RequestMetadata.Builder

getMetadataOrBuilder()

public RequestMetadataOrBuilder getMetadataOrBuilder()

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Returns
Type Description
RequestMetadataOrBuilder

getPacket()

public Packet getPacket()

Packets sent over the streaming rpc.

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

Returns
Type Description
Packet

The packet.

getPacketBuilder()

public Packet.Builder getPacketBuilder()

Packets sent over the streaming rpc.

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

Returns
Type Description
Packet.Builder

getPacketOrBuilder()

public PacketOrBuilder getPacketOrBuilder()

Packets sent over the streaming rpc.

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

Returns
Type Description
PacketOrBuilder

getRequestCase()

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

hasMetadata()

public boolean hasMetadata()

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Returns
Type Description
boolean

Whether the metadata field is set.

hasPacket()

public boolean hasPacket()

Packets sent over the streaming rpc.

.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

mergeFrom(SendPacketsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadata(RequestMetadata value)

public SendPacketsRequest.Builder mergeMetadata(RequestMetadata value)

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Parameter
Name Description
value RequestMetadata
Returns
Type Description
SendPacketsRequest.Builder

mergePacket(Packet value)

public SendPacketsRequest.Builder mergePacket(Packet value)

Packets sent over the streaming rpc.

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

Parameter
Name Description
value Packet
Returns
Type Description
SendPacketsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadata(RequestMetadata value)

public SendPacketsRequest.Builder setMetadata(RequestMetadata value)

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Parameter
Name Description
value RequestMetadata
Returns
Type Description
SendPacketsRequest.Builder

setMetadata(RequestMetadata.Builder builderForValue)

public SendPacketsRequest.Builder setMetadata(RequestMetadata.Builder builderForValue)

The first message of the streaming rpc including the request metadata.

.google.cloud.visionai.v1.RequestMetadata metadata = 2;

Parameter
Name Description
builderForValue RequestMetadata.Builder
Returns
Type Description
SendPacketsRequest.Builder

setPacket(Packet value)

public SendPacketsRequest.Builder setPacket(Packet value)

Packets sent over the streaming rpc.

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

Parameter
Name Description
value Packet
Returns
Type Description
SendPacketsRequest.Builder

setPacket(Packet.Builder builderForValue)

public SendPacketsRequest.Builder setPacket(Packet.Builder builderForValue)

Packets sent over the streaming rpc.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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