Package com.google.cloud.visionai.v1
Class ReceiveEventsRequest.SetupRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.ReceiveEventsRequest.SetupRequest
- All Implemented Interfaces:
ReceiveEventsRequest.SetupRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ReceiveEventsRequest
public static final class ReceiveEventsRequest.SetupRequest
extends com.google.protobuf.GeneratedMessage
implements ReceiveEventsRequest.SetupRequestOrBuilder
SetupRequest is the first message sent to the service to setup the RPC connection.Protobuf type
google.cloud.visionai.v1.ReceiveEventsRequest.SetupRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSetupRequest is the first message sent to the service to setup the RPC connection.Nested 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 TypeMethodDescriptionbooleanThe cluster name.com.google.protobuf.ByteStringThe cluster name.Controller mode configuration for receiving events from the server.Controller mode configuration for receiving events from the server.static final com.google.protobuf.Descriptors.Descriptorcom.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.com.google.protobuf.Parser<ReceiveEventsRequest.SetupRequest>A name for the receiver to self-identify.com.google.protobuf.ByteStringA name for the receiver to self-identify.intThe stream name.com.google.protobuf.ByteStringThe stream name.com.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.booleanController mode configuration for receiving events from the server.inthashCode()booleanThe maximum duration of server silence before the client determines the server unreachable.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(ReceiveEventsRequest.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<ReceiveEventsRequest.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
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
STREAM_FIELD_NUMBER
public static final int STREAM_FIELD_NUMBER- See Also:
-
RECEIVER_FIELD_NUMBER
public static final int RECEIVER_FIELD_NUMBER- See Also:
-
CONTROLLED_MODE_FIELD_NUMBER
public static final int CONTROLLED_MODE_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
-
getCluster
The cluster name.
string cluster = 1;- Specified by:
getClusterin interfaceReceiveEventsRequest.SetupRequestOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()The cluster name.
string cluster = 1;- Specified by:
getClusterBytesin interfaceReceiveEventsRequest.SetupRequestOrBuilder- Returns:
- The bytes for cluster.
-
getStream
The stream name. The service will return the events for the given stream.
string stream = 2;- Specified by:
getStreamin interfaceReceiveEventsRequest.SetupRequestOrBuilder- Returns:
- The stream.
-
getStreamBytes
public com.google.protobuf.ByteString getStreamBytes()The stream name. The service will return the events for the given stream.
string stream = 2;- Specified by:
getStreamBytesin interfaceReceiveEventsRequest.SetupRequestOrBuilder- Returns:
- The bytes for stream.
-
getReceiver
A name for the receiver to self-identify. This is used to keep track of a receiver's read progress.
string receiver = 3;- Specified by:
getReceiverin interfaceReceiveEventsRequest.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 = 3;- Specified by:
getReceiverBytesin interfaceReceiveEventsRequest.SetupRequestOrBuilder- Returns:
- The bytes for receiver.
-
hasControlledMode
public boolean hasControlledMode()Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;- Specified by:
hasControlledModein interfaceReceiveEventsRequest.SetupRequestOrBuilder- Returns:
- Whether the controlledMode field is set.
-
getControlledMode
Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;- Specified by:
getControlledModein interfaceReceiveEventsRequest.SetupRequestOrBuilder- Returns:
- The controlledMode.
-
getControlledModeOrBuilder
Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;- Specified by:
getControlledModeOrBuilderin interfaceReceiveEventsRequest.SetupRequestOrBuilder
-
hasHeartbeatInterval
public boolean hasHeartbeatInterval()The maximum duration of server silence before the client determines the server unreachable. The client must either receive an `Event` update 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 interfaceReceiveEventsRequest.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 an `Event` update 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 interfaceReceiveEventsRequest.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 an `Event` update 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 interfaceReceiveEventsRequest.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 interfaceReceiveEventsRequest.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 interfaceReceiveEventsRequest.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 interfaceReceiveEventsRequest.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 ReceiveEventsRequest.SetupRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceiveEventsRequest.SetupRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceiveEventsRequest.SetupRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceiveEventsRequest.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 ReceiveEventsRequest.SetupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReceiveEventsRequest.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 ReceiveEventsRequest.SetupRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReceiveEventsRequest.SetupRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReceiveEventsRequest.SetupRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReceiveEventsRequest.SetupRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReceiveEventsRequest.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 ReceiveEventsRequest.SetupRequest.Builder newBuilder(ReceiveEventsRequest.SetupRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReceiveEventsRequest.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
-