Package com.google.cloud.visionai.v1
Class ReceivePacketsRequest.SetupRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest
- All Implemented Interfaces:
ReceivePacketsRequest.SetupRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ReceivePacketsRequest
public static final class ReceivePacketsRequest.SetupRequest
extends com.google.protobuf.GeneratedMessage
implements ReceivePacketsRequest.SetupRequestOrBuilder
The message specifying the initial settings for the ReceivePackets session.Protobuf type
google.cloud.visionai.v1.ReceivePacketsRequest.SetupRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe message specifying the initial settings for the ReceivePackets session.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptions for configuring controlled mode.Options for configuring controlled mode.static final com.google.protobuf.Descriptors.DescriptorOptions for configuring eager mode.Options for configuring eager mode.com.google.protobuf.DurationThe maximum duration of server silence before the client determines the server unreachable.com.google.protobuf.DurationOrBuilderThe maximum duration of server silence before the client determines the server unreachable.The configurations that specify where packets are retrieved.The configurations that specify where packets are retrieved.com.google.protobuf.Parser<ReceivePacketsRequest.SetupRequest>A name for the receiver to self-identify.com.google.protobuf.ByteStringA name for the receiver to self-identify.intcom.google.protobuf.DurationThe grace period after which a `writes_done_request` is issued, that a `WritesDone` is expected from the client.com.google.protobuf.DurationOrBuilderThe grace period after which a `writes_done_request` is issued, that a `WritesDone` is expected from the client.booleanOptions for configuring controlled mode.booleanOptions for configuring eager mode.inthashCode()booleanThe maximum duration of server silence before the client determines the server unreachable.booleanThe configurations that specify where packets are retrieved.booleanThe grace period after which a `writes_done_request` is issued, that a `WritesDone` is expected from the client.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ReceivePacketsRequest.SetupRequest prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReceivePacketsRequest.SetupRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EAGER_RECEIVE_MODE_FIELD_NUMBER
public static final int EAGER_RECEIVE_MODE_FIELD_NUMBER- See Also:
-
CONTROLLED_RECEIVE_MODE_FIELD_NUMBER
public static final int CONTROLLED_RECEIVE_MODE_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
RECEIVER_FIELD_NUMBER
public static final int RECEIVER_FIELD_NUMBER- See Also:
-
HEARTBEAT_INTERVAL_FIELD_NUMBER
public static final int HEARTBEAT_INTERVAL_FIELD_NUMBER- See Also:
-
WRITES_DONE_GRACE_PERIOD_FIELD_NUMBER
public static final int WRITES_DONE_GRACE_PERIOD_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getConsumerModeCase
- Specified by:
getConsumerModeCasein interfaceReceivePacketsRequest.SetupRequestOrBuilder
-
hasEagerReceiveMode
public boolean hasEagerReceiveMode()Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;- Specified by:
hasEagerReceiveModein interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- Whether the eagerReceiveMode field is set.
-
getEagerReceiveMode
Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;- Specified by:
getEagerReceiveModein interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- The eagerReceiveMode.
-
getEagerReceiveModeOrBuilder
Options for configuring eager mode.
.google.cloud.visionai.v1.EagerMode eager_receive_mode = 3;- Specified by:
getEagerReceiveModeOrBuilderin interfaceReceivePacketsRequest.SetupRequestOrBuilder
-
hasControlledReceiveMode
public boolean hasControlledReceiveMode()Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;- Specified by:
hasControlledReceiveModein interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- Whether the controlledReceiveMode field is set.
-
getControlledReceiveMode
Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;- Specified by:
getControlledReceiveModein interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- The controlledReceiveMode.
-
getControlledReceiveModeOrBuilder
Options for configuring controlled mode.
.google.cloud.visionai.v1.ControlledMode controlled_receive_mode = 4;- Specified by:
getControlledReceiveModeOrBuilderin interfaceReceivePacketsRequest.SetupRequestOrBuilder
-
hasMetadata
public boolean hasMetadata()The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;- Specified by:
hasMetadatain interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;- Specified by:
getMetadatain interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
The configurations that specify where packets are retrieved.
.google.cloud.visionai.v1.RequestMetadata metadata = 1;- Specified by:
getMetadataOrBuilderin interfaceReceivePacketsRequest.SetupRequestOrBuilder
-
getReceiver
A name for the receiver to self-identify. This is used to keep track of a receiver's read progress.
string receiver = 2;- Specified by:
getReceiverin interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- The receiver.
-
getReceiverBytes
public com.google.protobuf.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;- Specified by:
getReceiverBytesin interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- The bytes for receiver.
-
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;- Specified by:
hasHeartbeatIntervalin interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- Whether the heartbeatInterval field is set.
-
getHeartbeatInterval
public com.google.protobuf.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;- Specified by:
getHeartbeatIntervalin interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- The heartbeatInterval.
-
getHeartbeatIntervalOrBuilder
public com.google.protobuf.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;- Specified by:
getHeartbeatIntervalOrBuilderin interfaceReceivePacketsRequest.SetupRequestOrBuilder
-
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;- Specified by:
hasWritesDoneGracePeriodin interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- Whether the writesDoneGracePeriod field is set.
-
getWritesDoneGracePeriod
public com.google.protobuf.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;- Specified by:
getWritesDoneGracePeriodin interfaceReceivePacketsRequest.SetupRequestOrBuilder- Returns:
- The writesDoneGracePeriod.
-
getWritesDoneGracePeriodOrBuilder
public com.google.protobuf.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;- Specified by:
getWritesDoneGracePeriodOrBuilderin interfaceReceivePacketsRequest.SetupRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReceivePacketsRequest.SetupRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReceivePacketsRequest.SetupRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReceivePacketsRequest.SetupRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static ReceivePacketsRequest.SetupRequest.Builder newBuilder(ReceivePacketsRequest.SetupRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReceivePacketsRequest.SetupRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-