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()
force attach subscription which would kill existed channel
this option doesn't need to be persisted
|
int |
getMessageBound()
@Deprecated.
|
PubSubProtocol.SubscriptionPreferences |
getPreferences()
subscription options
|
PubSubProtocol.SubscriptionPreferencesOrBuilder |
getPreferencesOrBuilder()
subscription options
|
com.google.protobuf.ByteString |
getSubscriberId()
required bytes subscriberId = 2; |
boolean |
getSynchronous()
wait for cross-regional subscriptions to be established before returning
|
boolean |
hasCreateOrAttach()
optional .Hedwig.SubscribeRequest.CreateOrAttach createOrAttach = 3 [default = CREATE_OR_ATTACH]; |
boolean |
hasForceAttach()
force attach subscription which would kill existed channel
this option doesn't need to be persisted
|
boolean |
hasMessageBound()
@Deprecated.
|
boolean |
hasPreferences()
subscription options
|
boolean |
hasSubscriberId()
required bytes subscriberId = 2; |
boolean |
hasSynchronous()
wait for cross-regional subscriptions to be established before returning
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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()
wait for cross-regional subscriptions to be established before returning
optional bool synchronous = 4 [default = false];
boolean getSynchronous()
wait for cross-regional subscriptions to be established before returning
optional bool synchronous = 4 [default = false];
boolean hasMessageBound()
@Deprecated. set message bound in SubscriptionPreferences
optional uint32 messageBound = 5;
int getMessageBound()
@Deprecated. set message bound in SubscriptionPreferences
optional uint32 messageBound = 5;
boolean hasPreferences()
subscription options
optional .Hedwig.SubscriptionPreferences preferences = 6;
PubSubProtocol.SubscriptionPreferences getPreferences()
subscription options
optional .Hedwig.SubscriptionPreferences preferences = 6;
PubSubProtocol.SubscriptionPreferencesOrBuilder getPreferencesOrBuilder()
subscription options
optional .Hedwig.SubscriptionPreferences preferences = 6;
boolean hasForceAttach()
force attach subscription which would kill existed channel this option doesn't need to be persisted
optional bool forceAttach = 7 [default = false];
boolean getForceAttach()
force attach subscription which would kill existed channel this option doesn't need to be persisted
optional bool forceAttach = 7 [default = false];
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.