public static interface PubSubProtocol.SubscribeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
PubSubProtocol.SubscribeRequest.CreateOrAttach |
getCreateOrAttach()
optional .Hedwig.SubscribeRequest.CreateOrAttach createOrAttach = 3 [default = CREATE_OR_ATTACH]; |
boolean |
getForceAttach()
optional bool forceAttach = 7 [default = false]; |
int |
getMessageBound()
optional uint32 messageBound = 5; |
PubSubProtocol.SubscriptionPreferences |
getPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 6; |
PubSubProtocol.SubscriptionPreferencesOrBuilder |
getPreferencesOrBuilder()
optional .Hedwig.SubscriptionPreferences preferences = 6; |
com.google.protobuf.ByteString |
getSubscriberId()
required bytes subscriberId = 2; |
boolean |
getSynchronous()
optional bool synchronous = 4 [default = false]; |
boolean |
hasCreateOrAttach()
optional .Hedwig.SubscribeRequest.CreateOrAttach createOrAttach = 3 [default = CREATE_OR_ATTACH]; |
boolean |
hasForceAttach()
optional bool forceAttach = 7 [default = false]; |
boolean |
hasMessageBound()
optional uint32 messageBound = 5; |
boolean |
hasPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 6; |
boolean |
hasSubscriberId()
required bytes subscriberId = 2; |
boolean |
hasSynchronous()
optional bool synchronous = 4 [default = false]; |
boolean hasSubscriberId()
required bytes subscriberId = 2;
com.google.protobuf.ByteString getSubscriberId()
required bytes subscriberId = 2;
boolean hasCreateOrAttach()
optional .Hedwig.SubscribeRequest.CreateOrAttach createOrAttach = 3 [default = CREATE_OR_ATTACH];
PubSubProtocol.SubscribeRequest.CreateOrAttach getCreateOrAttach()
optional .Hedwig.SubscribeRequest.CreateOrAttach createOrAttach = 3 [default = CREATE_OR_ATTACH];
boolean hasSynchronous()
optional bool synchronous = 4 [default = false];
wait for cross-regional subscriptions to be established before returning
boolean getSynchronous()
optional bool synchronous = 4 [default = false];
wait for cross-regional subscriptions to be established before returning
boolean hasMessageBound()
optional uint32 messageBound = 5;
int getMessageBound()
optional uint32 messageBound = 5;
boolean hasPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 6;
subscription options
PubSubProtocol.SubscriptionPreferences getPreferences()
optional .Hedwig.SubscriptionPreferences preferences = 6;
subscription options
PubSubProtocol.SubscriptionPreferencesOrBuilder getPreferencesOrBuilder()
optional .Hedwig.SubscriptionPreferences preferences = 6;
subscription options
boolean hasForceAttach()
optional bool forceAttach = 7 [default = false];
force attach subscription which would kill existed channel this option doesn't need to be persisted
boolean getForceAttach()
optional bool forceAttach = 7 [default = false];
force attach subscription which would kill existed channel this option doesn't need to be persisted
Copyright © 2018 The Apache Software Foundation. All rights reserved.