public static final class ReceiveEventsRequest.SetupRequest extends GeneratedMessageV3 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
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
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONTROLLED_MODE_FIELD_NUMBER
public static final int CONTROLLED_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 |
|
RECEIVER_FIELD_NUMBER
public static final int RECEIVER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STREAM_FIELD_NUMBER
public static final int STREAM_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 ReceiveEventsRequest.SetupRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReceiveEventsRequest.SetupRequest.Builder newBuilder()
newBuilder(ReceiveEventsRequest.SetupRequest prototype)
public static ReceiveEventsRequest.SetupRequest.Builder newBuilder(ReceiveEventsRequest.SetupRequest prototype)
public static ReceiveEventsRequest.SetupRequest parseDelimitedFrom(InputStream input)
public static ReceiveEventsRequest.SetupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReceiveEventsRequest.SetupRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReceiveEventsRequest.SetupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReceiveEventsRequest.SetupRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReceiveEventsRequest.SetupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReceiveEventsRequest.SetupRequest parseFrom(CodedInputStream input)
public static ReceiveEventsRequest.SetupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReceiveEventsRequest.SetupRequest parseFrom(InputStream input)
public static ReceiveEventsRequest.SetupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReceiveEventsRequest.SetupRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReceiveEventsRequest.SetupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReceiveEventsRequest.SetupRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCluster()
public String getCluster()
The cluster name.
string cluster = 1;
Returns |
Type |
Description |
String |
The cluster.
|
getClusterBytes()
public ByteString getClusterBytes()
The cluster name.
string cluster = 1;
Returns |
Type |
Description |
ByteString |
The bytes for cluster.
|
getControlledMode()
public ControlledMode getControlledMode()
Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;
getControlledModeOrBuilder()
public ControlledModeOrBuilder getControlledModeOrBuilder()
Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;
getDefaultInstanceForType()
public ReceiveEventsRequest.SetupRequest getDefaultInstanceForType()
getHeartbeatInterval()
public 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;
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 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;
getParserForType()
public Parser<ReceiveEventsRequest.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 = 3;
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 = 3;
Returns |
Type |
Description |
ByteString |
The bytes for receiver.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStream()
public String getStream()
The stream name. The service will return the events for the given stream.
string stream = 2;
Returns |
Type |
Description |
String |
The stream.
|
getStreamBytes()
public ByteString getStreamBytes()
The stream name. The service will return the events for the given stream.
string stream = 2;
Returns |
Type |
Description |
ByteString |
The bytes for stream.
|
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;
hasControlledMode()
public boolean hasControlledMode()
Controller mode configuration for receiving events from the server.
.google.cloud.visionai.v1.ControlledMode controlled_mode = 4;
Returns |
Type |
Description |
boolean |
Whether the controlledMode 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 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;
Returns |
Type |
Description |
boolean |
Whether the heartbeatInterval 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 ReceiveEventsRequest.SetupRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReceiveEventsRequest.SetupRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReceiveEventsRequest.SetupRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides