Package io.hstream.internal
Class GetSubscriptionResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder>
-
- io.hstream.internal.GetSubscriptionResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,GetSubscriptionResponseOrBuilder
,Cloneable
- Enclosing class:
- GetSubscriptionResponse
public static final class GetSubscriptionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder> implements GetSubscriptionResponseOrBuilder
Protobuf typehstream.server.GetSubscriptionResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSubscriptionResponse.Builder
addAllOffsets(Iterable<? extends SubscriptionOffset> values)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
addOffsets(int index, SubscriptionOffset value)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
addOffsets(int index, SubscriptionOffset.Builder builderForValue)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
addOffsets(SubscriptionOffset value)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
addOffsets(SubscriptionOffset.Builder builderForValue)
repeated .hstream.server.SubscriptionOffset offsets = 2;
SubscriptionOffset.Builder
addOffsetsBuilder()
repeated .hstream.server.SubscriptionOffset offsets = 2;
SubscriptionOffset.Builder
addOffsetsBuilder(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse
build()
GetSubscriptionResponse
buildPartial()
GetSubscriptionResponse.Builder
clear()
GetSubscriptionResponse.Builder
clearOffsets()
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
clearSubscription()
.hstream.server.Subscription subscription = 1;
GetSubscriptionResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
SubscriptionOffset
getOffsets(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
SubscriptionOffset.Builder
getOffsetsBuilder(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
List<SubscriptionOffset.Builder>
getOffsetsBuilderList()
repeated .hstream.server.SubscriptionOffset offsets = 2;
int
getOffsetsCount()
repeated .hstream.server.SubscriptionOffset offsets = 2;
List<SubscriptionOffset>
getOffsetsList()
repeated .hstream.server.SubscriptionOffset offsets = 2;
SubscriptionOffsetOrBuilder
getOffsetsOrBuilder(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
List<? extends SubscriptionOffsetOrBuilder>
getOffsetsOrBuilderList()
repeated .hstream.server.SubscriptionOffset offsets = 2;
Subscription
getSubscription()
.hstream.server.Subscription subscription = 1;
Subscription.Builder
getSubscriptionBuilder()
.hstream.server.Subscription subscription = 1;
SubscriptionOrBuilder
getSubscriptionOrBuilder()
.hstream.server.Subscription subscription = 1;
boolean
hasSubscription()
.hstream.server.Subscription subscription = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetSubscriptionResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetSubscriptionResponse.Builder
mergeFrom(com.google.protobuf.Message other)
GetSubscriptionResponse.Builder
mergeFrom(GetSubscriptionResponse other)
GetSubscriptionResponse.Builder
mergeSubscription(Subscription value)
.hstream.server.Subscription subscription = 1;
GetSubscriptionResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetSubscriptionResponse.Builder
removeOffsets(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
setOffsets(int index, SubscriptionOffset value)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
setOffsets(int index, SubscriptionOffset.Builder builderForValue)
repeated .hstream.server.SubscriptionOffset offsets = 2;
GetSubscriptionResponse.Builder
setSubscription(Subscription value)
.hstream.server.Subscription subscription = 1;
GetSubscriptionResponse.Builder
setSubscription(Subscription.Builder builderForValue)
.hstream.server.Subscription subscription = 1;
GetSubscriptionResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder>
-
clear
public GetSubscriptionResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder>
-
getDefaultInstanceForType
public GetSubscriptionResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetSubscriptionResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetSubscriptionResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GetSubscriptionResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetSubscriptionResponse.Builder>
-
mergeFrom
public GetSubscriptionResponse.Builder mergeFrom(GetSubscriptionResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder>
-
mergeFrom
public GetSubscriptionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetSubscriptionResponse.Builder>
- Throws:
IOException
-
hasSubscription
public boolean hasSubscription()
.hstream.server.Subscription subscription = 1;
- Specified by:
hasSubscription
in interfaceGetSubscriptionResponseOrBuilder
- Returns:
- Whether the subscription field is set.
-
getSubscription
public Subscription getSubscription()
.hstream.server.Subscription subscription = 1;
- Specified by:
getSubscription
in interfaceGetSubscriptionResponseOrBuilder
- Returns:
- The subscription.
-
setSubscription
public GetSubscriptionResponse.Builder setSubscription(Subscription value)
.hstream.server.Subscription subscription = 1;
-
setSubscription
public GetSubscriptionResponse.Builder setSubscription(Subscription.Builder builderForValue)
.hstream.server.Subscription subscription = 1;
-
mergeSubscription
public GetSubscriptionResponse.Builder mergeSubscription(Subscription value)
.hstream.server.Subscription subscription = 1;
-
clearSubscription
public GetSubscriptionResponse.Builder clearSubscription()
.hstream.server.Subscription subscription = 1;
-
getSubscriptionBuilder
public Subscription.Builder getSubscriptionBuilder()
.hstream.server.Subscription subscription = 1;
-
getSubscriptionOrBuilder
public SubscriptionOrBuilder getSubscriptionOrBuilder()
.hstream.server.Subscription subscription = 1;
- Specified by:
getSubscriptionOrBuilder
in interfaceGetSubscriptionResponseOrBuilder
-
getOffsetsList
public List<SubscriptionOffset> getOffsetsList()
repeated .hstream.server.SubscriptionOffset offsets = 2;
- Specified by:
getOffsetsList
in interfaceGetSubscriptionResponseOrBuilder
-
getOffsetsCount
public int getOffsetsCount()
repeated .hstream.server.SubscriptionOffset offsets = 2;
- Specified by:
getOffsetsCount
in interfaceGetSubscriptionResponseOrBuilder
-
getOffsets
public SubscriptionOffset getOffsets(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
- Specified by:
getOffsets
in interfaceGetSubscriptionResponseOrBuilder
-
setOffsets
public GetSubscriptionResponse.Builder setOffsets(int index, SubscriptionOffset value)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
setOffsets
public GetSubscriptionResponse.Builder setOffsets(int index, SubscriptionOffset.Builder builderForValue)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
addOffsets
public GetSubscriptionResponse.Builder addOffsets(SubscriptionOffset value)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
addOffsets
public GetSubscriptionResponse.Builder addOffsets(int index, SubscriptionOffset value)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
addOffsets
public GetSubscriptionResponse.Builder addOffsets(SubscriptionOffset.Builder builderForValue)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
addOffsets
public GetSubscriptionResponse.Builder addOffsets(int index, SubscriptionOffset.Builder builderForValue)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
addAllOffsets
public GetSubscriptionResponse.Builder addAllOffsets(Iterable<? extends SubscriptionOffset> values)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
clearOffsets
public GetSubscriptionResponse.Builder clearOffsets()
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
removeOffsets
public GetSubscriptionResponse.Builder removeOffsets(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
getOffsetsBuilder
public SubscriptionOffset.Builder getOffsetsBuilder(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
getOffsetsOrBuilder
public SubscriptionOffsetOrBuilder getOffsetsOrBuilder(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
- Specified by:
getOffsetsOrBuilder
in interfaceGetSubscriptionResponseOrBuilder
-
getOffsetsOrBuilderList
public List<? extends SubscriptionOffsetOrBuilder> getOffsetsOrBuilderList()
repeated .hstream.server.SubscriptionOffset offsets = 2;
- Specified by:
getOffsetsOrBuilderList
in interfaceGetSubscriptionResponseOrBuilder
-
addOffsetsBuilder
public SubscriptionOffset.Builder addOffsetsBuilder()
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
addOffsetsBuilder
public SubscriptionOffset.Builder addOffsetsBuilder(int index)
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
getOffsetsBuilderList
public List<SubscriptionOffset.Builder> getOffsetsBuilderList()
repeated .hstream.server.SubscriptionOffset offsets = 2;
-
setUnknownFields
public final GetSubscriptionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder>
-
mergeUnknownFields
public final GetSubscriptionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSubscriptionResponse.Builder>
-
-