Class ListenMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ListenMessage.Builder>
com.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder>
studio.o7.octopus.sdk.v1.ListenMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ListenMessageOrBuilder
- Enclosing class:
ListenMessage
public static final class ListenMessage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder>
implements ListenMessageOrBuilder
* Message type for the listen stream.Protobuf type
octopus_sdk.v1.ListenMessage-
Method Summary
Modifier and TypeMethodDescriptionaddAllKeyPattern(Iterable<String> values) Pattern to match keys.addKeyPattern(String value) Pattern to match keys.addKeyPatternBytes(com.google.protobuf.ByteString value) Pattern to match keys.build()clear()Pattern to match keys.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKeyPattern(int index) Pattern to match keys.com.google.protobuf.ByteStringgetKeyPatternBytes(int index) Pattern to match keys.intPattern to match keys.com.google.protobuf.ProtocolStringListPattern to match keys.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ListenMessage other) setKeyPattern(int index, String value) Pattern to match keys.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListenMessage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListenMessage.Builder>
-
mergeFrom
public ListenMessage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListenMessage.Builder>- Throws:
IOException
-
getKeyPatternList
public com.google.protobuf.ProtocolStringList getKeyPatternList()Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Specified by:
getKeyPatternListin interfaceListenMessageOrBuilder- Returns:
- A list containing the keyPattern.
-
getKeyPatternCount
public int getKeyPatternCount()Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Specified by:
getKeyPatternCountin interfaceListenMessageOrBuilder- Returns:
- The count of keyPattern.
-
getKeyPattern
Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Specified by:
getKeyPatternin interfaceListenMessageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keyPattern at the given index.
-
getKeyPatternBytes
public com.google.protobuf.ByteString getKeyPatternBytes(int index) Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Specified by:
getKeyPatternBytesin interfaceListenMessageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keyPattern at the given index.
-
setKeyPattern
Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Parameters:
index- The index to set the value at.value- The keyPattern to set.- Returns:
- This builder for chaining.
-
addKeyPattern
Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Parameters:
value- The keyPattern to add.- Returns:
- This builder for chaining.
-
addAllKeyPattern
Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Parameters:
values- The keyPattern to add.- Returns:
- This builder for chaining.
-
clearKeyPattern
Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Returns:
- This builder for chaining.
-
addKeyPatternBytes
Pattern to match keys. Supports wildcards: * - matches exactly one token (between dots), e.g., "foo.*.bar" matches "foo.x.bar" but not "foo.x.y.bar" > - matches one or more tokens until the end, e.g., "foo.>" matches "foo", "foo.bar", "foo.bar.baz", etc. Multiple wildcards can be used in a single pattern. Tokens are dot-separated.
repeated string key_pattern = 1 [json_name = "keyPattern"];- Parameters:
value- The bytes of the keyPattern to add.- Returns:
- This builder for chaining.
-