Package org.yamcs.protobuf
Class Mdb.HistoryInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
org.yamcs.protobuf.Mdb.HistoryInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Mdb.HistoryInfoOrBuilder
- Enclosing class:
- Mdb.HistoryInfo
public static final class Mdb.HistoryInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
implements Mdb.HistoryInfoOrBuilder
Protobuf type
yamcs.protobuf.mdb.HistoryInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string author = 4;
optional string date = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string message = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string version = 1;
clone()
optional string author = 4;
com.google.protobuf.ByteString
optional string author = 4;
getDate()
optional string date = 2;
com.google.protobuf.ByteString
optional string date = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string message = 3;
com.google.protobuf.ByteString
optional string message = 3;
optional string version = 1;
com.google.protobuf.ByteString
optional string version = 1;
boolean
optional string author = 4;
boolean
hasDate()
optional string date = 2;
boolean
optional string message = 3;
boolean
optional string version = 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
(Mdb.HistoryInfo other) final Mdb.HistoryInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) optional string author = 4;
setAuthorBytes
(com.google.protobuf.ByteString value) optional string author = 4;
optional string date = 2;
setDateBytes
(com.google.protobuf.ByteString value) optional string date = 2;
setMessage
(String value) optional string message = 3;
setMessageBytes
(com.google.protobuf.ByteString value) optional string message = 3;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Mdb.HistoryInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVersion
(String value) optional string version = 1;
setVersionBytes
(com.google.protobuf.ByteString value) optional string version = 1;
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<Mdb.HistoryInfo.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<Mdb.HistoryInfo.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<Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
-
setField
public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
-
setRepeatedField
public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
-
addRepeatedField
public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mdb.HistoryInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
-
mergeFrom
public Mdb.HistoryInfo.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<Mdb.HistoryInfo.Builder>
- Throws:
IOException
-
hasVersion
public boolean hasVersion()optional string version = 1;
- Specified by:
hasVersion
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
optional string version = 1;
- Specified by:
getVersion
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()optional string version = 1;
- Specified by:
getVersionBytes
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The bytes for version.
-
setVersion
optional string version = 1;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
optional string version = 1;
- Returns:
- This builder for chaining.
-
setVersionBytes
optional string version = 1;
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasDate
public boolean hasDate()optional string date = 2;
- Specified by:
hasDate
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- Whether the date field is set.
-
getDate
optional string date = 2;
- Specified by:
getDate
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The date.
-
getDateBytes
public com.google.protobuf.ByteString getDateBytes()optional string date = 2;
- Specified by:
getDateBytes
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The bytes for date.
-
setDate
optional string date = 2;
- Parameters:
value
- The date to set.- Returns:
- This builder for chaining.
-
clearDate
optional string date = 2;
- Returns:
- This builder for chaining.
-
setDateBytes
optional string date = 2;
- Parameters:
value
- The bytes for date to set.- Returns:
- This builder for chaining.
-
hasMessage
public boolean hasMessage()optional string message = 3;
- Specified by:
hasMessage
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
optional string message = 3;
- Specified by:
getMessage
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()optional string message = 3;
- Specified by:
getMessageBytes
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The bytes for message.
-
setMessage
optional string message = 3;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
optional string message = 3;
- Returns:
- This builder for chaining.
-
setMessageBytes
optional string message = 3;
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
hasAuthor
public boolean hasAuthor()optional string author = 4;
- Specified by:
hasAuthor
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- Whether the author field is set.
-
getAuthor
optional string author = 4;
- Specified by:
getAuthor
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The author.
-
getAuthorBytes
public com.google.protobuf.ByteString getAuthorBytes()optional string author = 4;
- Specified by:
getAuthorBytes
in interfaceMdb.HistoryInfoOrBuilder
- Returns:
- The bytes for author.
-
setAuthor
optional string author = 4;
- Parameters:
value
- The author to set.- Returns:
- This builder for chaining.
-
clearAuthor
optional string author = 4;
- Returns:
- This builder for chaining.
-
setAuthorBytes
optional string author = 4;
- Parameters:
value
- The bytes for author to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Mdb.HistoryInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
-
mergeUnknownFields
public final Mdb.HistoryInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mdb.HistoryInfo.Builder>
-