Interface SendPacketsRequestOrBuilder (0.5.0)

public interface SendPacketsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetadata()

public abstract 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.

getMetadataOrBuilder()

public abstract 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 abstract Packet getPacket()

Packets sent over the streaming rpc.

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

Returns
Type Description
Packet

The packet.

getPacketOrBuilder()

public abstract PacketOrBuilder getPacketOrBuilder()

Packets sent over the streaming rpc.

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

Returns
Type Description
PacketOrBuilder

getRequestCase()

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

hasMetadata()

public abstract 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 abstract 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.