public static final class ReceivePacketsRequest.Builder extends GeneratedMessageV3.Builder<ReceivePacketsRequest.Builder> implements ReceivePacketsRequestOrBuilder
Request message for receiving packets.
Protobuf type google.cloud.visionai.v1.ReceivePacketsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReceivePacketsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReceivePacketsRequest build()
buildPartial()
public ReceivePacketsRequest buildPartial()
clear()
public ReceivePacketsRequest.Builder clear()
Overrides
clearCommitRequest()
public ReceivePacketsRequest.Builder clearCommitRequest()
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
clearField(Descriptors.FieldDescriptor field)
public ReceivePacketsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReceivePacketsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequest()
public ReceivePacketsRequest.Builder clearRequest()
clearSetupRequest()
public ReceivePacketsRequest.Builder clearSetupRequest()
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;
clone()
public ReceivePacketsRequest.Builder clone()
Overrides
getCommitRequest()
public CommitRequest getCommitRequest()
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
getCommitRequestBuilder()
public CommitRequest.Builder getCommitRequestBuilder()
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
getCommitRequestOrBuilder()
public CommitRequestOrBuilder getCommitRequestOrBuilder()
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
getDefaultInstanceForType()
public ReceivePacketsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRequestCase()
public ReceivePacketsRequest.RequestCase getRequestCase()
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;
getSetupRequestBuilder()
public ReceivePacketsRequest.SetupRequest.Builder getSetupRequestBuilder()
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;
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCommitRequest(CommitRequest value)
public ReceivePacketsRequest.Builder mergeCommitRequest(CommitRequest value)
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
mergeFrom(ReceivePacketsRequest other)
public ReceivePacketsRequest.Builder mergeFrom(ReceivePacketsRequest other)
public ReceivePacketsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReceivePacketsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSetupRequest(ReceivePacketsRequest.SetupRequest value)
public ReceivePacketsRequest.Builder mergeSetupRequest(ReceivePacketsRequest.SetupRequest value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReceivePacketsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCommitRequest(CommitRequest value)
public ReceivePacketsRequest.Builder setCommitRequest(CommitRequest value)
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
setCommitRequest(CommitRequest.Builder builderForValue)
public ReceivePacketsRequest.Builder setCommitRequest(CommitRequest.Builder builderForValue)
This request checkpoints the consumer's read progress.
.google.cloud.visionai.v1.CommitRequest commit_request = 7;
setField(Descriptors.FieldDescriptor field, Object value)
public ReceivePacketsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReceivePacketsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSetupRequest(ReceivePacketsRequest.SetupRequest value)
public ReceivePacketsRequest.Builder setSetupRequest(ReceivePacketsRequest.SetupRequest value)
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;
setSetupRequest(ReceivePacketsRequest.SetupRequest.Builder builderForValue)
public ReceivePacketsRequest.Builder setSetupRequest(ReceivePacketsRequest.SetupRequest.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ReceivePacketsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides