Interface PacketOrBuilder (0.11.0)

public interface PacketOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeader()

public abstract PacketHeader getHeader()

The packet header.

.google.cloud.visionai.v1.PacketHeader header = 1;

Returns
Type Description
PacketHeader

The header.

getHeaderOrBuilder()

public abstract PacketHeaderOrBuilder getHeaderOrBuilder()

The packet header.

.google.cloud.visionai.v1.PacketHeader header = 1;

Returns
Type Description
PacketHeaderOrBuilder

getPayload()

public abstract ByteString getPayload()

The payload of the packet.

bytes payload = 2;

Returns
Type Description
ByteString

The payload.

hasHeader()

public abstract boolean hasHeader()

The packet header.

.google.cloud.visionai.v1.PacketHeader header = 1;

Returns
Type Description
boolean

Whether the header field is set.