public static final class CreateEventRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder> implements CreateEventRequestOrBuilder
yamcs.protobuf.events.CreateEventRequest| Modifier and Type | Method and Description |
|---|---|
CreateEventRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateEventRequest |
build() |
CreateEventRequest |
buildPartial() |
CreateEventRequest.Builder |
clear() |
CreateEventRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateEventRequest.Builder |
clearInstance()
Yamcs instance name.
|
CreateEventRequest.Builder |
clearMessage()
**Required.** Event message.
|
CreateEventRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateEventRequest.Builder |
clearSequenceNumber()
Sequence number of this event.
|
CreateEventRequest.Builder |
clearSeverity()
The severity level of the event.
|
CreateEventRequest.Builder |
clearSource()
Source of the event.
|
CreateEventRequest.Builder |
clearTime()
Time associated with the event.
|
CreateEventRequest.Builder |
clearType()
Description of the type of the event.
|
CreateEventRequest.Builder |
clone() |
CreateEventRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInstance()
Yamcs instance name.
|
com.google.protobuf.ByteString |
getInstanceBytes()
Yamcs instance name.
|
String |
getMessage()
**Required.** Event message.
|
com.google.protobuf.ByteString |
getMessageBytes()
**Required.** Event message.
|
int |
getSequenceNumber()
Sequence number of this event.
|
String |
getSeverity()
The severity level of the event.
|
com.google.protobuf.ByteString |
getSeverityBytes()
The severity level of the event.
|
String |
getSource()
Source of the event.
|
com.google.protobuf.ByteString |
getSourceBytes()
Source of the event.
|
com.google.protobuf.Timestamp |
getTime()
Time associated with the event.
|
com.google.protobuf.Timestamp.Builder |
getTimeBuilder()
Time associated with the event.
|
com.google.protobuf.TimestampOrBuilder |
getTimeOrBuilder()
Time associated with the event.
|
String |
getType()
Description of the type of the event.
|
com.google.protobuf.ByteString |
getTypeBytes()
Description of the type of the event.
|
boolean |
hasInstance()
Yamcs instance name.
|
boolean |
hasMessage()
**Required.** Event message.
|
boolean |
hasSequenceNumber()
Sequence number of this event.
|
boolean |
hasSeverity()
The severity level of the event.
|
boolean |
hasSource()
Source of the event.
|
boolean |
hasTime()
Time associated with the event.
|
boolean |
hasType()
Description of the type of the event.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateEventRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateEventRequest.Builder |
mergeFrom(CreateEventRequest other) |
CreateEventRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateEventRequest.Builder |
mergeTime(com.google.protobuf.Timestamp value)
Time associated with the event.
|
CreateEventRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateEventRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateEventRequest.Builder |
setInstance(String value)
Yamcs instance name.
|
CreateEventRequest.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
Yamcs instance name.
|
CreateEventRequest.Builder |
setMessage(String value)
**Required.** Event message.
|
CreateEventRequest.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
**Required.** Event message.
|
CreateEventRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateEventRequest.Builder |
setSequenceNumber(int value)
Sequence number of this event.
|
CreateEventRequest.Builder |
setSeverity(String value)
The severity level of the event.
|
CreateEventRequest.Builder |
setSeverityBytes(com.google.protobuf.ByteString value)
The severity level of the event.
|
CreateEventRequest.Builder |
setSource(String value)
Source of the event.
|
CreateEventRequest.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
Source of the event.
|
CreateEventRequest.Builder |
setTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time associated with the event.
|
CreateEventRequest.Builder |
setTime(com.google.protobuf.Timestamp value)
Time associated with the event.
|
CreateEventRequest.Builder |
setType(String value)
Description of the type of the event.
|
CreateEventRequest.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Description of the type of the event.
|
CreateEventRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateEventRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateEventRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateEventRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder mergeFrom(CreateEventRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public CreateEventRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateEventRequest.Builder>IOExceptionpublic boolean hasInstance()
Yamcs instance name.
optional string instance = 1;hasInstance in interface CreateEventRequestOrBuilderpublic String getInstance()
Yamcs instance name.
optional string instance = 1;getInstance in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name.
optional string instance = 1;getInstanceBytes in interface CreateEventRequestOrBuilderpublic CreateEventRequest.Builder setInstance(String value)
Yamcs instance name.
optional string instance = 1;public CreateEventRequest.Builder clearInstance()
Yamcs instance name.
optional string instance = 1;public CreateEventRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
Yamcs instance name.
optional string instance = 1;public boolean hasType()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;hasType in interface CreateEventRequestOrBuilderpublic String getType()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;getType in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;getTypeBytes in interface CreateEventRequestOrBuilderpublic CreateEventRequest.Builder setType(String value)
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;public CreateEventRequest.Builder clearType()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;public CreateEventRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;public boolean hasMessage()
**Required.** Event message.
optional string message = 3;hasMessage in interface CreateEventRequestOrBuilderpublic String getMessage()
**Required.** Event message.
optional string message = 3;getMessage in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
**Required.** Event message.
optional string message = 3;getMessageBytes in interface CreateEventRequestOrBuilderpublic CreateEventRequest.Builder setMessage(String value)
**Required.** Event message.
optional string message = 3;public CreateEventRequest.Builder clearMessage()
**Required.** Event message.
optional string message = 3;public CreateEventRequest.Builder setMessageBytes(com.google.protobuf.ByteString value)
**Required.** Event message.
optional string message = 3;public boolean hasSeverity()
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;hasSeverity in interface CreateEventRequestOrBuilderpublic String getSeverity()
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;getSeverity in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getSeverityBytes()
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;getSeverityBytes in interface CreateEventRequestOrBuilderpublic CreateEventRequest.Builder setSeverity(String value)
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;public CreateEventRequest.Builder clearSeverity()
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;public CreateEventRequest.Builder setSeverityBytes(com.google.protobuf.ByteString value)
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;public boolean hasTime()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;hasTime in interface CreateEventRequestOrBuilderpublic com.google.protobuf.Timestamp getTime()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;getTime in interface CreateEventRequestOrBuilderpublic CreateEventRequest.Builder setTime(com.google.protobuf.Timestamp value)
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;public CreateEventRequest.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;public CreateEventRequest.Builder mergeTime(com.google.protobuf.Timestamp value)
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;public CreateEventRequest.Builder clearTime()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;public com.google.protobuf.Timestamp.Builder getTimeBuilder()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;getTimeOrBuilder in interface CreateEventRequestOrBuilderpublic boolean hasSource()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;hasSource in interface CreateEventRequestOrBuilderpublic String getSource()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;getSource in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;getSourceBytes in interface CreateEventRequestOrBuilderpublic CreateEventRequest.Builder setSource(String value)
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;public CreateEventRequest.Builder clearSource()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;public CreateEventRequest.Builder setSourceBytes(com.google.protobuf.ByteString value)
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;public boolean hasSequenceNumber()
Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;hasSequenceNumber in interface CreateEventRequestOrBuilderpublic int getSequenceNumber()
Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;getSequenceNumber in interface CreateEventRequestOrBuilderpublic CreateEventRequest.Builder setSequenceNumber(int value)
Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;public CreateEventRequest.Builder clearSequenceNumber()
Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;public final CreateEventRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>public final CreateEventRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>Copyright © 2022 Space Applications Services. All rights reserved.