public final class ReceivePacketsRequest extends GeneratedMessageV3 implements ReceivePacketsRequestOrBuilder
Request message for receiving packets.
Protobuf type google.cloud.visionai.v1.ReceivePacketsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReceivePacketsRequestImplements
ReceivePacketsRequestOrBuilderStatic Fields
COMMIT_REQUEST_FIELD_NUMBER
public static final int COMMIT_REQUEST_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SETUP_REQUEST_FIELD_NUMBER
public static final int SETUP_REQUEST_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ReceivePacketsRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ReceivePacketsRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.Builder |
newBuilder(ReceivePacketsRequest prototype)
public static ReceivePacketsRequest.Builder newBuilder(ReceivePacketsRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype |
ReceivePacketsRequest |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ReceivePacketsRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ReceivePacketsRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ReceivePacketsRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ReceivePacketsRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ReceivePacketsRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ReceivePacketsRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ReceivePacketsRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<ReceivePacketsRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getCommitRequest()
public CommitRequest getCommitRequest()
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
Returns | |
---|---|
Type | Description |
CommitRequest |
The commitRequest. |
getCommitRequestOrBuilder()
public CommitRequestOrBuilder getCommitRequestOrBuilder()
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
Returns | |
---|---|
Type | Description |
CommitRequestOrBuilder |
getDefaultInstanceForType()
public ReceivePacketsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest |
getParserForType()
public Parser<ReceivePacketsRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ReceivePacketsRequest> |
getRequestCase()
public ReceivePacketsRequest.RequestCase getRequestCase()
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.RequestCase |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getSetupRequest()
public ReceivePacketsRequest.SetupRequest getSetupRequest()
The request to setup the initial state of session.
The client must send and only send this as the first message.
.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.SetupRequest |
The setupRequest. |
getSetupRequestOrBuilder()
public ReceivePacketsRequest.SetupRequestOrBuilder getSetupRequestOrBuilder()
The request to setup the initial state of session.
The client must send and only send this as the first message.
.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.SetupRequestOrBuilder |
hasCommitRequest()
public boolean hasCommitRequest()
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the commitRequest field is set. |
hasSetupRequest()
public boolean hasSetupRequest()
The request to setup the initial state of session.
The client must send and only send this as the first message.
.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest setup_request = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the setupRequest field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ReceivePacketsRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReceivePacketsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ReceivePacketsRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ReceivePacketsRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |