Package org.yamcs.protobuf.audit
Class AuditRecord
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.audit.AuditRecord
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,AuditRecordOrBuilder
public final class AuditRecord extends com.google.protobuf.GeneratedMessageV3 implements AuditRecordOrBuilder
Protobuf typeyamcs.protobuf.audit.AuditRecord- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditRecord.BuilderProtobuf typeyamcs.protobuf.audit.AuditRecord-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMETHOD_FIELD_NUMBERstatic com.google.protobuf.Parser<AuditRecord>PARSERDeprecated.static intREQUEST_FIELD_NUMBERstatic intSERVICE_FIELD_NUMBERstatic intSUMMARY_FIELD_NUMBERstatic intTIME_FIELD_NUMBERstatic intUSER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static AuditRecordgetDefaultInstance()AuditRecordgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetMethod()optional string method = 3;com.google.protobuf.ByteStringgetMethodBytes()optional string method = 3;com.google.protobuf.Parser<AuditRecord>getParserForType()com.google.protobuf.StructgetRequest()optional .google.protobuf.Struct request = 6;com.google.protobuf.StructOrBuildergetRequestOrBuilder()optional .google.protobuf.Struct request = 6;intgetSerializedSize()StringgetService()optional string service = 2;com.google.protobuf.ByteStringgetServiceBytes()optional string service = 2;StringgetSummary()optional string summary = 5;com.google.protobuf.ByteStringgetSummaryBytes()optional string summary = 5;com.google.protobuf.TimestampgetTime()optional .google.protobuf.Timestamp time = 1;com.google.protobuf.TimestampOrBuildergetTimeOrBuilder()optional .google.protobuf.Timestamp time = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetUser()optional string user = 4;com.google.protobuf.ByteStringgetUserBytes()optional string user = 4;inthashCode()booleanhasMethod()optional string method = 3;booleanhasRequest()optional .google.protobuf.Struct request = 6;booleanhasService()optional string service = 2;booleanhasSummary()optional string summary = 5;booleanhasTime()optional .google.protobuf.Timestamp time = 1;booleanhasUser()optional string user = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AuditRecord.BuildernewBuilder()static AuditRecord.BuildernewBuilder(AuditRecord prototype)AuditRecord.BuildernewBuilderForType()protected AuditRecord.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AuditRecordparseDelimitedFrom(InputStream input)static AuditRecordparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditRecordparseFrom(byte[] data)static AuditRecordparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditRecordparseFrom(com.google.protobuf.ByteString data)static AuditRecordparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditRecordparseFrom(com.google.protobuf.CodedInputStream input)static AuditRecordparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditRecordparseFrom(InputStream input)static AuditRecordparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AuditRecordparseFrom(ByteBuffer data)static AuditRecordparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AuditRecord>parser()AuditRecord.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<AuditRecord> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTime
public boolean hasTime()
optional .google.protobuf.Timestamp time = 1;- Specified by:
hasTimein interfaceAuditRecordOrBuilder- Returns:
- Whether the time field is set.
-
getTime
public com.google.protobuf.Timestamp getTime()
optional .google.protobuf.Timestamp time = 1;- Specified by:
getTimein interfaceAuditRecordOrBuilder- Returns:
- The time.
-
getTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
optional .google.protobuf.Timestamp time = 1;- Specified by:
getTimeOrBuilderin interfaceAuditRecordOrBuilder
-
hasService
public boolean hasService()
optional string service = 2;- Specified by:
hasServicein interfaceAuditRecordOrBuilder- Returns:
- Whether the service field is set.
-
getService
public String getService()
optional string service = 2;- Specified by:
getServicein interfaceAuditRecordOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()
optional string service = 2;- Specified by:
getServiceBytesin interfaceAuditRecordOrBuilder- Returns:
- The bytes for service.
-
hasMethod
public boolean hasMethod()
optional string method = 3;- Specified by:
hasMethodin interfaceAuditRecordOrBuilder- Returns:
- Whether the method field is set.
-
getMethod
public String getMethod()
optional string method = 3;- Specified by:
getMethodin interfaceAuditRecordOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()
optional string method = 3;- Specified by:
getMethodBytesin interfaceAuditRecordOrBuilder- Returns:
- The bytes for method.
-
hasUser
public boolean hasUser()
optional string user = 4;- Specified by:
hasUserin interfaceAuditRecordOrBuilder- Returns:
- Whether the user field is set.
-
getUser
public String getUser()
optional string user = 4;- Specified by:
getUserin interfaceAuditRecordOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()
optional string user = 4;- Specified by:
getUserBytesin interfaceAuditRecordOrBuilder- Returns:
- The bytes for user.
-
hasSummary
public boolean hasSummary()
optional string summary = 5;- Specified by:
hasSummaryin interfaceAuditRecordOrBuilder- Returns:
- Whether the summary field is set.
-
getSummary
public String getSummary()
optional string summary = 5;- Specified by:
getSummaryin interfaceAuditRecordOrBuilder- Returns:
- The summary.
-
getSummaryBytes
public com.google.protobuf.ByteString getSummaryBytes()
optional string summary = 5;- Specified by:
getSummaryBytesin interfaceAuditRecordOrBuilder- Returns:
- The bytes for summary.
-
hasRequest
public boolean hasRequest()
optional .google.protobuf.Struct request = 6;- Specified by:
hasRequestin interfaceAuditRecordOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
public com.google.protobuf.Struct getRequest()
optional .google.protobuf.Struct request = 6;- Specified by:
getRequestin interfaceAuditRecordOrBuilder- Returns:
- The request.
-
getRequestOrBuilder
public com.google.protobuf.StructOrBuilder getRequestOrBuilder()
optional .google.protobuf.Struct request = 6;- Specified by:
getRequestOrBuilderin interfaceAuditRecordOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AuditRecord parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditRecord parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditRecord parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditRecord parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AuditRecord parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AuditRecord parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AuditRecord parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AuditRecord parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AuditRecord parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AuditRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AuditRecord.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AuditRecord.Builder newBuilder()
-
newBuilder
public static AuditRecord.Builder newBuilder(AuditRecord prototype)
-
toBuilder
public AuditRecord.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AuditRecord.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AuditRecord getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AuditRecord> parser()
-
getParserForType
public com.google.protobuf.Parser<AuditRecord> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AuditRecord getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-