public final class Packet extends GeneratedMessageV3 implements PacketOrBuilder
The quanta of datum that the series accepts.
Protobuf type google.cloud.visionai.v1.Packet
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int HEADER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Packet getDefaultInstance()
Returns |
Type |
Description |
Packet |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Packet.Builder newBuilder()
newBuilder(Packet prototype)
public static Packet.Builder newBuilder(Packet prototype)
Parameter |
Name |
Description |
prototype |
Packet
|
public static Packet parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Packet |
|
public static Packet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Packet |
|
parseFrom(byte[] data)
public static Packet parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Packet |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Packet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Packet |
|
parseFrom(ByteString data)
public static Packet parseFrom(ByteString data)
Returns |
Type |
Description |
Packet |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Packet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Packet |
|
public static Packet parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Packet |
|
public static Packet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Packet |
|
public static Packet parseFrom(InputStream input)
Returns |
Type |
Description |
Packet |
|
public static Packet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Packet |
|
parseFrom(ByteBuffer data)
public static Packet parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Packet |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Packet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Packet |
|
parser()
public static Parser<Packet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Packet getDefaultInstanceForType()
Returns |
Type |
Description |
Packet |
|
public PacketHeader getHeader()
The packet header.
.google.cloud.visionai.v1.PacketHeader header = 1;
public PacketHeaderOrBuilder getHeaderOrBuilder()
The packet header.
.google.cloud.visionai.v1.PacketHeader header = 1;
getParserForType()
public Parser<Packet> getParserForType()
Overrides
getPayload()
public ByteString getPayload()
The payload of the packet.
bytes payload = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasHeader()
The packet header.
.google.cloud.visionai.v1.PacketHeader header = 1;
Returns |
Type |
Description |
boolean |
Whether the header field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Packet.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Packet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Packet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides