Class AlarmJournalProto.JournalEventPB.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
com.inductiveautomation.ignition.gateway.alarming.journal.encoding.AlarmJournalProto.JournalEventPB.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AlarmJournalProto.JournalEventPBOrBuilder
,Cloneable
- Enclosing class:
- AlarmJournalProto.JournalEventPB
public static final class AlarmJournalProto.JournalEventPB.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
implements AlarmJournalProto.JournalEventPBOrBuilder
Protobuf type
JournalEventPB
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string displayPath = 2;
int32 eventFlags = 8;
int32 eventType = 6;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) int32 priority = 5;
string source = 1;
.JournalSystemTypePB systemType = 7;
optional string targetJournal = 10;
bool useUnfilteredData = 9;
string uuid = 3;
clone()
boolean
containsEventData
(String key) map<string, .PropValuePB> eventData = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string displayPath = 2;
com.google.protobuf.ByteString
string displayPath = 2;
Deprecated.int
map<string, .PropValuePB> eventData = 4;
map<string, .PropValuePB> eventData = 4;
getEventDataOrDefault
(String key, AlarmJournalProto.PropValuePB defaultValue) map<string, .PropValuePB> eventData = 4;
map<string, .PropValuePB> eventData = 4;
int
int32 eventFlags = 8;
int
int32 eventType = 6;
Deprecated.int
int32 priority = 5;
string source = 1;
com.google.protobuf.ByteString
string source = 1;
.JournalSystemTypePB systemType = 7;
int
.JournalSystemTypePB systemType = 7;
optional string targetJournal = 10;
com.google.protobuf.ByteString
optional string targetJournal = 10;
boolean
bool useUnfilteredData = 9;
getUuid()
string uuid = 3;
com.google.protobuf.ByteString
string uuid = 3;
boolean
optional string targetJournal = 10;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) map<string, .PropValuePB> eventData = 4;
putEventData
(String key, AlarmJournalProto.PropValuePB value) map<string, .PropValuePB> eventData = 4;
map<string, .PropValuePB> eventData = 4;
removeEventData
(String key) map<string, .PropValuePB> eventData = 4;
setDisplayPath
(String value) string displayPath = 2;
setDisplayPathBytes
(com.google.protobuf.ByteString value) string displayPath = 2;
setEventFlags
(int value) int32 eventFlags = 8;
setEventType
(int value) int32 eventType = 6;
setPriority
(int value) int32 priority = 5;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) string source = 1;
setSourceBytes
(com.google.protobuf.ByteString value) string source = 1;
.JournalSystemTypePB systemType = 7;
setSystemTypeValue
(int value) .JournalSystemTypePB systemType = 7;
setTargetJournal
(String value) optional string targetJournal = 10;
setTargetJournalBytes
(com.google.protobuf.ByteString value) optional string targetJournal = 10;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUseUnfilteredData
(boolean value) bool useUnfilteredData = 9;
string uuid = 3;
setUuidBytes
(com.google.protobuf.ByteString value) string uuid = 3;
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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.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<AlarmJournalProto.JournalEventPB.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<AlarmJournalProto.JournalEventPB.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<AlarmJournalProto.JournalEventPB.Builder>
-
setField
public AlarmJournalProto.JournalEventPB.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<AlarmJournalProto.JournalEventPB.Builder>
-
clearField
public AlarmJournalProto.JournalEventPB.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
-
clearOneof
public AlarmJournalProto.JournalEventPB.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
-
setRepeatedField
public AlarmJournalProto.JournalEventPB.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<AlarmJournalProto.JournalEventPB.Builder>
-
addRepeatedField
public AlarmJournalProto.JournalEventPB.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<AlarmJournalProto.JournalEventPB.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlarmJournalProto.JournalEventPB.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
-
mergeFrom
public AlarmJournalProto.JournalEventPB.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<AlarmJournalProto.JournalEventPB.Builder>
- Throws:
IOException
-
getSource
string source = 1;
- Specified by:
getSource
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()string source = 1;
- Specified by:
getSourceBytes
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The bytes for source.
-
setSource
string source = 1;
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
string source = 1;
- Returns:
- This builder for chaining.
-
setSourceBytes
public AlarmJournalProto.JournalEventPB.Builder setSourceBytes(com.google.protobuf.ByteString value) string source = 1;
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
getDisplayPath
string displayPath = 2;
- Specified by:
getDisplayPath
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The displayPath.
-
getDisplayPathBytes
public com.google.protobuf.ByteString getDisplayPathBytes()string displayPath = 2;
- Specified by:
getDisplayPathBytes
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The bytes for displayPath.
-
setDisplayPath
string displayPath = 2;
- Parameters:
value
- The displayPath to set.- Returns:
- This builder for chaining.
-
clearDisplayPath
string displayPath = 2;
- Returns:
- This builder for chaining.
-
setDisplayPathBytes
public AlarmJournalProto.JournalEventPB.Builder setDisplayPathBytes(com.google.protobuf.ByteString value) string displayPath = 2;
- Parameters:
value
- The bytes for displayPath to set.- Returns:
- This builder for chaining.
-
getUuid
string uuid = 3;
- Specified by:
getUuid
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()string uuid = 3;
- Specified by:
getUuidBytes
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The bytes for uuid.
-
setUuid
string uuid = 3;
- Parameters:
value
- The uuid to set.- Returns:
- This builder for chaining.
-
clearUuid
string uuid = 3;
- Returns:
- This builder for chaining.
-
setUuidBytes
string uuid = 3;
- Parameters:
value
- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
getEventDataCount
public int getEventDataCount()Description copied from interface:AlarmJournalProto.JournalEventPBOrBuilder
map<string, .PropValuePB> eventData = 4;
- Specified by:
getEventDataCount
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
-
containsEventData
map<string, .PropValuePB> eventData = 4;
- Specified by:
containsEventData
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
-
getEventData
Deprecated.UsegetEventDataMap()
instead.- Specified by:
getEventData
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
-
getEventDataMap
map<string, .PropValuePB> eventData = 4;
- Specified by:
getEventDataMap
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
-
getEventDataOrDefault
public AlarmJournalProto.PropValuePB getEventDataOrDefault(String key, AlarmJournalProto.PropValuePB defaultValue) map<string, .PropValuePB> eventData = 4;
- Specified by:
getEventDataOrDefault
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
-
getEventDataOrThrow
map<string, .PropValuePB> eventData = 4;
- Specified by:
getEventDataOrThrow
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
-
clearEventData
-
removeEventData
map<string, .PropValuePB> eventData = 4;
-
getMutableEventData
Deprecated.Use alternate mutation accessors instead. -
putEventData
public AlarmJournalProto.JournalEventPB.Builder putEventData(String key, AlarmJournalProto.PropValuePB value) map<string, .PropValuePB> eventData = 4;
-
putAllEventData
public AlarmJournalProto.JournalEventPB.Builder putAllEventData(Map<String, AlarmJournalProto.PropValuePB> values) map<string, .PropValuePB> eventData = 4;
-
putEventDataBuilderIfAbsent
map<string, .PropValuePB> eventData = 4;
-
getPriority
public int getPriority()int32 priority = 5;
- Specified by:
getPriority
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The priority.
-
setPriority
int32 priority = 5;
- Parameters:
value
- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
int32 priority = 5;
- Returns:
- This builder for chaining.
-
getEventType
public int getEventType()int32 eventType = 6;
- Specified by:
getEventType
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The eventType.
-
setEventType
int32 eventType = 6;
- Parameters:
value
- The eventType to set.- Returns:
- This builder for chaining.
-
clearEventType
int32 eventType = 6;
- Returns:
- This builder for chaining.
-
getSystemTypeValue
public int getSystemTypeValue().JournalSystemTypePB systemType = 7;
- Specified by:
getSystemTypeValue
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The enum numeric value on the wire for systemType.
-
setSystemTypeValue
.JournalSystemTypePB systemType = 7;
- Parameters:
value
- The enum numeric value on the wire for systemType to set.- Returns:
- This builder for chaining.
-
getSystemType
.JournalSystemTypePB systemType = 7;
- Specified by:
getSystemType
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The systemType.
-
setSystemType
public AlarmJournalProto.JournalEventPB.Builder setSystemType(AlarmJournalProto.JournalSystemTypePB value) .JournalSystemTypePB systemType = 7;
- Parameters:
value
- The systemType to set.- Returns:
- This builder for chaining.
-
clearSystemType
.JournalSystemTypePB systemType = 7;
- Returns:
- This builder for chaining.
-
getEventFlags
public int getEventFlags()int32 eventFlags = 8;
- Specified by:
getEventFlags
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The eventFlags.
-
setEventFlags
int32 eventFlags = 8;
- Parameters:
value
- The eventFlags to set.- Returns:
- This builder for chaining.
-
clearEventFlags
int32 eventFlags = 8;
- Returns:
- This builder for chaining.
-
getUseUnfilteredData
public boolean getUseUnfilteredData()bool useUnfilteredData = 9;
- Specified by:
getUseUnfilteredData
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The useUnfilteredData.
-
setUseUnfilteredData
bool useUnfilteredData = 9;
- Parameters:
value
- The useUnfilteredData to set.- Returns:
- This builder for chaining.
-
clearUseUnfilteredData
bool useUnfilteredData = 9;
- Returns:
- This builder for chaining.
-
hasTargetJournal
public boolean hasTargetJournal()optional string targetJournal = 10;
- Specified by:
hasTargetJournal
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- Whether the targetJournal field is set.
-
getTargetJournal
optional string targetJournal = 10;
- Specified by:
getTargetJournal
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The targetJournal.
-
getTargetJournalBytes
public com.google.protobuf.ByteString getTargetJournalBytes()optional string targetJournal = 10;
- Specified by:
getTargetJournalBytes
in interfaceAlarmJournalProto.JournalEventPBOrBuilder
- Returns:
- The bytes for targetJournal.
-
setTargetJournal
optional string targetJournal = 10;
- Parameters:
value
- The targetJournal to set.- Returns:
- This builder for chaining.
-
clearTargetJournal
optional string targetJournal = 10;
- Returns:
- This builder for chaining.
-
setTargetJournalBytes
public AlarmJournalProto.JournalEventPB.Builder setTargetJournalBytes(com.google.protobuf.ByteString value) optional string targetJournal = 10;
- Parameters:
value
- The bytes for targetJournal to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AlarmJournalProto.JournalEventPB.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
-
mergeUnknownFields
public final AlarmJournalProto.JournalEventPB.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlarmJournalProto.JournalEventPB.Builder>
-