public static final class ReceivePacketsRequest.SetupRequest extends GeneratedMessageV3 implements ReceivePacketsRequest.SetupRequestOrBuilder
The message specifying the initial settings for the ReceivePackets session.
Protobuf type google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest
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
CONTROLLED_RECEIVE_MODE_FIELD_NUMBER
public static final int CONTROLLED_RECEIVE_MODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EAGER_RECEIVE_MODE_FIELD_NUMBER
public static final int EAGER_RECEIVE_MODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HEARTBEAT_INTERVAL_FIELD_NUMBER
public static final int HEARTBEAT_INTERVAL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RECEIVER_FIELD_NUMBER
public static final int RECEIVER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WRITES_DONE_GRACE_PERIOD_FIELD_NUMBER
public static final int WRITES_DONE_GRACE_PERIOD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReceivePacketsRequest.SetupRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReceivePacketsRequest.SetupRequest.Builder newBuilder()
newBuilder(ReceivePacketsRequest.SetupRequest prototype)
public static ReceivePacketsRequest.SetupRequest.Builder newBuilder(ReceivePacketsRequest.SetupRequest prototype)
public static ReceivePacketsRequest.SetupRequest parseDelimitedFrom(InputStream input)
public static ReceivePacketsRequest.SetupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReceivePacketsRequest.SetupRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest.SetupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReceivePacketsRequest.SetupRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest.SetupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest.SetupRequest parseFrom(CodedInputStream input)
public static ReceivePacketsRequest.SetupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest.SetupRequest parseFrom(InputStream input)
public static ReceivePacketsRequest.SetupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReceivePacketsRequest.SetupRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReceivePacketsRequest.SetupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReceivePacketsRequest.SetupRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getConsumerModeCase()
public ReceivePacketsRequest.SetupRequest.ConsumerModeCase getConsumerModeCase()
getControlledReceiveMode()
public ControlledMode getControlledReceiveMode()
Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;
getControlledReceiveModeOrBuilder()
public ControlledModeOrBuilder getControlledReceiveModeOrBuilder()
Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;
getDefaultInstanceForType()
public ReceivePacketsRequest.SetupRequest getDefaultInstanceForType()
getEagerReceiveMode()
public EagerMode getEagerReceiveMode()
Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;
Returns |
Type |
Description |
EagerMode |
The eagerReceiveMode.
|
getEagerReceiveModeOrBuilder()
public EagerModeOrBuilder getEagerReceiveModeOrBuilder()
Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;
getHeartbeatInterval()
public Duration getHeartbeatInterval()
The maximum duration of server silence before the client determines the
server unreachable.
The client must either receive a Packet
or a heart beat message before
this duration expires; otherwise, the client will automatically cancel
the current connection and retry.
.google.protobuf.Duration heartbeat_interval = 5;
Returns |
Type |
Description |
Duration |
The heartbeatInterval.
|
getHeartbeatIntervalOrBuilder()
public DurationOrBuilder getHeartbeatIntervalOrBuilder()
The maximum duration of server silence before the client determines the
server unreachable.
The client must either receive a Packet
or a heart beat message before
this duration expires; otherwise, the client will automatically cancel
the current connection and retry.
.google.protobuf.Duration heartbeat_interval = 5;
public RequestMetadata getMetadata()
The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;
public RequestMetadataOrBuilder getMetadataOrBuilder()
The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;
getParserForType()
public Parser<ReceivePacketsRequest.SetupRequest> getParserForType()
Overrides
getReceiver()
public String getReceiver()
A name for the receiver to self-identify.
This is used to keep track of a receiver's read progress.
string receiver = 2;
Returns |
Type |
Description |
String |
The receiver.
|
getReceiverBytes()
public ByteString getReceiverBytes()
A name for the receiver to self-identify.
This is used to keep track of a receiver's read progress.
string receiver = 2;
Returns |
Type |
Description |
ByteString |
The bytes for receiver.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getWritesDoneGracePeriod()
public Duration getWritesDoneGracePeriod()
The grace period after which a writes_done_request
is issued, that a
WritesDone
is expected from the client.
The server is free to cancel the RPC should this expire.
A system default will be chosen if unset.
.google.protobuf.Duration writes_done_grace_period = 6;
Returns |
Type |
Description |
Duration |
The writesDoneGracePeriod.
|
getWritesDoneGracePeriodOrBuilder()
public DurationOrBuilder getWritesDoneGracePeriodOrBuilder()
The grace period after which a writes_done_request
is issued, that a
WritesDone
is expected from the client.
The server is free to cancel the RPC should this expire.
A system default will be chosen if unset.
.google.protobuf.Duration writes_done_grace_period = 6;
hasControlledReceiveMode()
public boolean hasControlledReceiveMode()
Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;
Returns |
Type |
Description |
boolean |
Whether the controlledReceiveMode field is set.
|
hasEagerReceiveMode()
public boolean hasEagerReceiveMode()
Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;
Returns |
Type |
Description |
boolean |
Whether the eagerReceiveMode field is set.
|
hasHeartbeatInterval()
public boolean hasHeartbeatInterval()
The maximum duration of server silence before the client determines the
server unreachable.
The client must either receive a Packet
or a heart beat message before
this duration expires; otherwise, the client will automatically cancel
the current connection and retry.
.google.protobuf.Duration heartbeat_interval = 5;
Returns |
Type |
Description |
boolean |
Whether the heartbeatInterval field is set.
|
public boolean hasMetadata()
The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
hasWritesDoneGracePeriod()
public boolean hasWritesDoneGracePeriod()
The grace period after which a writes_done_request
is issued, that a
WritesDone
is expected from the client.
The server is free to cancel the RPC should this expire.
A system default will be chosen if unset.
.google.protobuf.Duration writes_done_grace_period = 6;
Returns |
Type |
Description |
boolean |
Whether the writesDoneGracePeriod field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReceivePacketsRequest.SetupRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReceivePacketsRequest.SetupRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReceivePacketsRequest.SetupRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides