java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TopicInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<TopicInfo.Builder>
org.yamcs.protobuf.TopicInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,TopicInfoOrBuilder
- Enclosing class:
TopicInfo
public static final class TopicInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TopicInfo.Builder>
implements TopicInfoOrBuilder
Protobuf type
yamcs.protobuf.server.TopicInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()optional bool deprecated = 7;optional string description = 4;optional string inputType = 5;optional string method = 3;optional string outputType = 6;optional string service = 2;optional string topic = 1;booleanoptional bool deprecated = 7;optional string description = 4;com.google.protobuf.ByteStringoptional string description = 4;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional string inputType = 5;com.google.protobuf.ByteStringoptional string inputType = 5;optional string method = 3;com.google.protobuf.ByteStringoptional string method = 3;optional string outputType = 6;com.google.protobuf.ByteStringoptional string outputType = 6;optional string service = 2;com.google.protobuf.ByteStringoptional string service = 2;getTopic()optional string topic = 1;com.google.protobuf.ByteStringoptional string topic = 1;booleanoptional bool deprecated = 7;booleanoptional string description = 4;booleanoptional string inputType = 5;booleanoptional string method = 3;booleanoptional string outputType = 6;booleanoptional string service = 2;booleanhasTopic()optional string topic = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDeprecated(boolean value) optional bool deprecated = 7;setDescription(String value) optional string description = 4;setDescriptionBytes(com.google.protobuf.ByteString value) optional string description = 4;setInputType(String value) optional string inputType = 5;setInputTypeBytes(com.google.protobuf.ByteString value) optional string inputType = 5;optional string method = 3;setMethodBytes(com.google.protobuf.ByteString value) optional string method = 3;setOutputType(String value) optional string outputType = 6;setOutputTypeBytes(com.google.protobuf.ByteString value) optional string outputType = 6;setService(String value) optional string service = 2;setServiceBytes(com.google.protobuf.ByteString value) optional string service = 2;optional string topic = 1;setTopicBytes(com.google.protobuf.ByteString value) optional string topic = 1;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 java.lang.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<TopicInfo.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<TopicInfo.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<TopicInfo.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<TopicInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TopicInfo.Builder>
-
mergeFrom
public TopicInfo.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<TopicInfo.Builder>- Throws:
IOException
-
hasTopic
public boolean hasTopic()optional string topic = 1;- Specified by:
hasTopicin interfaceTopicInfoOrBuilder- Returns:
- Whether the topic field is set.
-
getTopic
optional string topic = 1;- Specified by:
getTopicin interfaceTopicInfoOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()optional string topic = 1;- Specified by:
getTopicBytesin interfaceTopicInfoOrBuilder- 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.
-
hasService
public boolean hasService()optional string service = 2;- Specified by:
hasServicein interfaceTopicInfoOrBuilder- Returns:
- Whether the service field is set.
-
getService
optional string service = 2;- Specified by:
getServicein interfaceTopicInfoOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()optional string service = 2;- Specified by:
getServiceBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for service.
-
setService
optional string service = 2;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
optional string service = 2;- Returns:
- This builder for chaining.
-
setServiceBytes
optional string service = 2;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
hasMethod
public boolean hasMethod()optional string method = 3;- Specified by:
hasMethodin interfaceTopicInfoOrBuilder- Returns:
- Whether the method field is set.
-
getMethod
optional string method = 3;- Specified by:
getMethodin interfaceTopicInfoOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()optional string method = 3;- Specified by:
getMethodBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for method.
-
setMethod
optional string method = 3;- Parameters:
value- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
optional string method = 3;- Returns:
- This builder for chaining.
-
setMethodBytes
optional string method = 3;- Parameters:
value- The bytes for method to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()optional string description = 4;- Specified by:
hasDescriptionin interfaceTopicInfoOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 4;- Specified by:
getDescriptionin interfaceTopicInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 4;- Specified by:
getDescriptionBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for description.
-
setDescription
optional string description = 4;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
optional string description = 4;- Returns:
- This builder for chaining.
-
setDescriptionBytes
optional string description = 4;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasInputType
public boolean hasInputType()optional string inputType = 5;- Specified by:
hasInputTypein interfaceTopicInfoOrBuilder- Returns:
- Whether the inputType field is set.
-
getInputType
optional string inputType = 5;- Specified by:
getInputTypein interfaceTopicInfoOrBuilder- Returns:
- The inputType.
-
getInputTypeBytes
public com.google.protobuf.ByteString getInputTypeBytes()optional string inputType = 5;- Specified by:
getInputTypeBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for inputType.
-
setInputType
optional string inputType = 5;- Parameters:
value- The inputType to set.- Returns:
- This builder for chaining.
-
clearInputType
optional string inputType = 5;- Returns:
- This builder for chaining.
-
setInputTypeBytes
optional string inputType = 5;- Parameters:
value- The bytes for inputType to set.- Returns:
- This builder for chaining.
-
hasOutputType
public boolean hasOutputType()optional string outputType = 6;- Specified by:
hasOutputTypein interfaceTopicInfoOrBuilder- Returns:
- Whether the outputType field is set.
-
getOutputType
optional string outputType = 6;- Specified by:
getOutputTypein interfaceTopicInfoOrBuilder- Returns:
- The outputType.
-
getOutputTypeBytes
public com.google.protobuf.ByteString getOutputTypeBytes()optional string outputType = 6;- Specified by:
getOutputTypeBytesin interfaceTopicInfoOrBuilder- Returns:
- The bytes for outputType.
-
setOutputType
optional string outputType = 6;- Parameters:
value- The outputType to set.- Returns:
- This builder for chaining.
-
clearOutputType
optional string outputType = 6;- Returns:
- This builder for chaining.
-
setOutputTypeBytes
optional string outputType = 6;- Parameters:
value- The bytes for outputType to set.- Returns:
- This builder for chaining.
-
hasDeprecated
public boolean hasDeprecated()optional bool deprecated = 7;- Specified by:
hasDeprecatedin interfaceTopicInfoOrBuilder- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()optional bool deprecated = 7;- Specified by:
getDeprecatedin interfaceTopicInfoOrBuilder- Returns:
- The deprecated.
-
setDeprecated
optional bool deprecated = 7;- Parameters:
value- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
optional bool deprecated = 7;- Returns:
- This builder for chaining.
-