Package org.yamcs.api
Class WebSocketTopic.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
org.yamcs.api.WebSocketTopic.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,WebSocketTopicOrBuilder
- Enclosing class:
- WebSocketTopic
public static final class WebSocketTopic.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
implements WebSocketTopicOrBuilder
Protobuf type
yamcs.api.WebSocketTopic
-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalBindings
(int index, WebSocketTopic value) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
addAdditionalBindings
(int index, WebSocketTopic.Builder builderForValue) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
addAdditionalBindings
(WebSocketTopic.Builder builderForValue) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
addAdditionalBindingsBuilder
(int index) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
addAllAdditionalBindings
(Iterable<? extends WebSocketTopic> values) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
optional bool deprecated = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Optional method label.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string topic = 1;
clone()
getAdditionalBindings
(int index) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
getAdditionalBindingsBuilder
(int index) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
int
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
getAdditionalBindingsOrBuilder
(int index) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
List<? extends WebSocketTopicOrBuilder>
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
boolean
optional bool deprecated = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getLabel()
Optional method label.com.google.protobuf.ByteString
Optional method label.getTopic()
optional string topic = 1;
com.google.protobuf.ByteString
optional string topic = 1;
boolean
optional bool deprecated = 2;
boolean
hasLabel()
Optional method label.boolean
hasTopic()
optional string topic = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(WebSocketTopic other) final WebSocketTopic.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeAdditionalBindings
(int index) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
setAdditionalBindings
(int index, WebSocketTopic value) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
setAdditionalBindings
(int index, WebSocketTopic.Builder builderForValue) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
setDeprecated
(boolean value) optional bool deprecated = 2;
Optional method label.setLabelBytes
(com.google.protobuf.ByteString value) Optional method label.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional string topic = 1;
setTopicBytes
(com.google.protobuf.ByteString value) optional string topic = 1;
final WebSocketTopic.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.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<WebSocketTopic.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<WebSocketTopic.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
setField
public WebSocketTopic.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
setRepeatedField
public WebSocketTopic.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
addRepeatedField
public WebSocketTopic.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WebSocketTopic.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
mergeFrom
public WebSocketTopic.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<WebSocketTopic.Builder>
- Throws:
IOException
-
hasTopic
public boolean hasTopic()optional string topic = 1;
- Specified by:
hasTopic
in interfaceWebSocketTopicOrBuilder
- Returns:
- Whether the topic field is set.
-
getTopic
optional string topic = 1;
- Specified by:
getTopic
in interfaceWebSocketTopicOrBuilder
- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()optional string topic = 1;
- Specified by:
getTopicBytes
in interfaceWebSocketTopicOrBuilder
- Returns:
- The bytes for topic.
-
setTopic
optional string topic = 1;
- Parameters:
value
- The topic to set.- Returns:
- This builder for chaining.
-
clearTopic
optional string topic = 1;
- Returns:
- This builder for chaining.
-
setTopicBytes
optional string topic = 1;
- Parameters:
value
- The bytes for topic to set.- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()optional bool deprecated = 2;
- Specified by:
hasDeprecated
in interfaceWebSocketTopicOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()optional bool deprecated = 2;
- Specified by:
getDeprecated
in interfaceWebSocketTopicOrBuilder
- Returns:
- The deprecated.
-
setDeprecated
optional bool deprecated = 2;
- Parameters:
value
- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
optional bool deprecated = 2;
- Returns:
- This builder for chaining.
-
getAdditionalBindingsList
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
- Specified by:
getAdditionalBindingsList
in interfaceWebSocketTopicOrBuilder
-
getAdditionalBindingsCount
public int getAdditionalBindingsCount()repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
- Specified by:
getAdditionalBindingsCount
in interfaceWebSocketTopicOrBuilder
-
getAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
- Specified by:
getAdditionalBindings
in interfaceWebSocketTopicOrBuilder
-
setAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
setAdditionalBindings
public WebSocketTopic.Builder setAdditionalBindings(int index, WebSocketTopic.Builder builderForValue) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
addAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
addAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
addAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
addAdditionalBindings
public WebSocketTopic.Builder addAdditionalBindings(int index, WebSocketTopic.Builder builderForValue) repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
addAllAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
clearAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
removeAdditionalBindings
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
getAdditionalBindingsBuilder
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
getAdditionalBindingsOrBuilder
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
- Specified by:
getAdditionalBindingsOrBuilder
in interfaceWebSocketTopicOrBuilder
-
getAdditionalBindingsOrBuilderList
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
- Specified by:
getAdditionalBindingsOrBuilderList
in interfaceWebSocketTopicOrBuilder
-
addAdditionalBindingsBuilder
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
addAdditionalBindingsBuilder
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
getAdditionalBindingsBuilderList
repeated .yamcs.api.WebSocketTopic additional_bindings = 3;
-
hasLabel
public boolean hasLabel()Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 4;
- Specified by:
hasLabel
in interfaceWebSocketTopicOrBuilder
- Returns:
- Whether the label field is set.
-
getLabel
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 4;
- Specified by:
getLabel
in interfaceWebSocketTopicOrBuilder
- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 4;
- Specified by:
getLabelBytes
in interfaceWebSocketTopicOrBuilder
- Returns:
- The bytes for label.
-
setLabel
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 4;
- Parameters:
value
- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 4;
- Returns:
- This builder for chaining.
-
setLabelBytes
Optional method label. This is a hint to programs that process proto definitions (example: document generation), intended for when the camel-case method name does not give a good result.
optional string label = 4;
- Parameters:
value
- The bytes for label to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WebSocketTopic.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-
mergeUnknownFields
public final WebSocketTopic.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WebSocketTopic.Builder>
-