Package org.yamcs.protobuf
Class TopicInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<TopicInfo.Builder>
implements TopicInfoOrBuilder
Protobuf type
yamcs.protobuf.server.TopicInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional bool deprecated = 7;
optional string description = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string inputType = 5;
optional string method = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string outputType = 6;
optional string service = 2;
optional string topic = 1;
clone()
boolean
optional bool deprecated = 7;
optional string description = 4;
com.google.protobuf.ByteString
optional string description = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string inputType = 5;
com.google.protobuf.ByteString
optional string inputType = 5;
optional string method = 3;
com.google.protobuf.ByteString
optional string method = 3;
optional string outputType = 6;
com.google.protobuf.ByteString
optional string outputType = 6;
optional string service = 2;
com.google.protobuf.ByteString
optional string service = 2;
getTopic()
optional string topic = 1;
com.google.protobuf.ByteString
optional string topic = 1;
boolean
optional bool deprecated = 7;
boolean
optional string description = 4;
boolean
optional string inputType = 5;
boolean
optional string method = 3;
boolean
optional string outputType = 6;
boolean
optional string service = 2;
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) final TopicInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) 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;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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;
final TopicInfo.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<TopicInfo.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<TopicInfo.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<TopicInfo.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<TopicInfo.Builder>
-
setField
public TopicInfo.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<TopicInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TopicInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TopicInfo.Builder>
-
setRepeatedField
public TopicInfo.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<TopicInfo.Builder>
-
addRepeatedField
public TopicInfo.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<TopicInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TopicInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TopicInfo.Builder>
-
mergeFrom
public TopicInfo.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<TopicInfo.Builder>
- Throws:
IOException
-
hasTopic
public boolean hasTopic()optional string topic = 1;
- Specified by:
hasTopic
in interfaceTopicInfoOrBuilder
- Returns:
- Whether the topic field is set.
-
getTopic
optional string topic = 1;
- Specified by:
getTopic
in interfaceTopicInfoOrBuilder
- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()optional string topic = 1;
- Specified by:
getTopicBytes
in 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:
hasService
in interfaceTopicInfoOrBuilder
- Returns:
- Whether the service field is set.
-
getService
optional string service = 2;
- Specified by:
getService
in interfaceTopicInfoOrBuilder
- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()optional string service = 2;
- Specified by:
getServiceBytes
in 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:
hasMethod
in interfaceTopicInfoOrBuilder
- Returns:
- Whether the method field is set.
-
getMethod
optional string method = 3;
- Specified by:
getMethod
in interfaceTopicInfoOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()optional string method = 3;
- Specified by:
getMethodBytes
in 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:
hasDescription
in interfaceTopicInfoOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 4;
- Specified by:
getDescription
in interfaceTopicInfoOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 4;
- Specified by:
getDescriptionBytes
in 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:
hasInputType
in interfaceTopicInfoOrBuilder
- Returns:
- Whether the inputType field is set.
-
getInputType
optional string inputType = 5;
- Specified by:
getInputType
in interfaceTopicInfoOrBuilder
- Returns:
- The inputType.
-
getInputTypeBytes
public com.google.protobuf.ByteString getInputTypeBytes()optional string inputType = 5;
- Specified by:
getInputTypeBytes
in 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:
hasOutputType
in interfaceTopicInfoOrBuilder
- Returns:
- Whether the outputType field is set.
-
getOutputType
optional string outputType = 6;
- Specified by:
getOutputType
in interfaceTopicInfoOrBuilder
- Returns:
- The outputType.
-
getOutputTypeBytes
public com.google.protobuf.ByteString getOutputTypeBytes()optional string outputType = 6;
- Specified by:
getOutputTypeBytes
in 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:
hasDeprecated
in interfaceTopicInfoOrBuilder
- Returns:
- Whether the deprecated field is set.
-
getDeprecated
public boolean getDeprecated()optional bool deprecated = 7;
- Specified by:
getDeprecated
in 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.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TopicInfo.Builder>
-
mergeUnknownFields
public final TopicInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TopicInfo.Builder>
-