- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClientMessage,ClientMessage.Builder
public interface ClientMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetCall()If applicable, the call associated with this message This should be used when the client is streaming multiple messages handled by the same call.intgetId()Optional client-side message identifier, returned in reply messages.intIf set, permit the server to keep a WebSocket connection despite frame writes getting dropped (channel not open or not writable).com.google.protobuf.AnyOptions specific to the typecom.google.protobuf.AnyOrBuilderOptions specific to the typegetType()Message type.com.google.protobuf.ByteStringMessage type.booleanOptions specific to the typeMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getType
String getType()Message type. Typically the name of a topic to subscribe to, or a built-in like "cancel".
string type = 1;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Message type. Typically the name of a topic to subscribe to, or a built-in like "cancel".
string type = 1;- Returns:
- The bytes for type.
-
hasOptions
boolean hasOptions()Options specific to the type
.google.protobuf.Any options = 2;- Returns:
- Whether the options field is set.
-
getOptions
com.google.protobuf.Any getOptions()Options specific to the type
.google.protobuf.Any options = 2;- Returns:
- The options.
-
getOptionsOrBuilder
com.google.protobuf.AnyOrBuilder getOptionsOrBuilder()Options specific to the type
.google.protobuf.Any options = 2; -
getId
int getId()Optional client-side message identifier, returned in reply messages.
int32 id = 3;- Returns:
- The id.
-
getCall
int getCall()If applicable, the call associated with this message This should be used when the client is streaming multiple messages handled by the same call.
int32 call = 4;- Returns:
- The call.
-
getMaxDroppedWrites
int getMaxDroppedWrites()If set, permit the server to keep a WebSocket connection despite frame writes getting dropped (channel not open or not writable). If unset the default is 0, meaning that if the server can't write a frame, it will close the connection (impacting all calls on that connection). This attribute is only applied when it is set on the first message of a call.
int32 maxDroppedWrites = 5;- Returns:
- The maxDroppedWrites.
-