Class RightsAuditEntry
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.creative_commons.v1.RightsAuditEntry
- All Implemented Interfaces:
RightsAuditEntryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RightsAuditEntry
extends com.google.protobuf.GeneratedMessage
implements RightsAuditEntryOrBuilder
Represents an entry in the rights audit trailProtobuf type
ai.pipestream.parsed.data.creative_commons.v1.RightsAuditEntry- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents an entry in the rights audit trailNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActor()Actor who performed the actioncom.google.protobuf.ByteStringActor who performed the actionstatic RightsAuditEntryDescription of the rights eventcom.google.protobuf.ByteStringDescription of the rights eventstatic final com.google.protobuf.Descriptors.DescriptorEvent type (e.g., "rights_assigned", "license_changed", "usage_granted")com.google.protobuf.ByteStringEvent type (e.g., "rights_assigned", "license_changed", "usage_granted")New rights statecom.google.protobuf.ByteStringNew rights statecom.google.protobuf.Parser<RightsAuditEntry> Previous rights state (if applicable)com.google.protobuf.ByteStringPrevious rights state (if applicable)intcom.google.protobuf.TimestampAudit event timestampcom.google.protobuf.TimestampOrBuilderAudit event timestampbooleanhasActor()Actor who performed the actionbooleanDescription of the rights eventinthashCode()booleanNew rights statebooleanPrevious rights state (if applicable)booleanAudit event timestampprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RightsAuditEntry.Builderstatic RightsAuditEntry.BuildernewBuilder(RightsAuditEntry prototype) protected RightsAuditEntry.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RightsAuditEntryparseDelimitedFrom(InputStream input) static RightsAuditEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RightsAuditEntryparseFrom(byte[] data) static RightsAuditEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RightsAuditEntryparseFrom(com.google.protobuf.ByteString data) static RightsAuditEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RightsAuditEntryparseFrom(com.google.protobuf.CodedInputStream input) static RightsAuditEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RightsAuditEntryparseFrom(InputStream input) static RightsAuditEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RightsAuditEntryparseFrom(ByteBuffer data) static RightsAuditEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RightsAuditEntry> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
EVENT_TYPE_FIELD_NUMBER
public static final int EVENT_TYPE_FIELD_NUMBER- See Also:
-
ACTOR_FIELD_NUMBER
public static final int ACTOR_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
PREVIOUS_STATE_FIELD_NUMBER
public static final int PREVIOUS_STATE_FIELD_NUMBER- See Also:
-
NEW_STATE_FIELD_NUMBER
public static final int NEW_STATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasTimestamp
public boolean hasTimestamp()Audit event timestamp
.google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];- Specified by:
hasTimestampin interfaceRightsAuditEntryOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()Audit event timestamp
.google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];- Specified by:
getTimestampin interfaceRightsAuditEntryOrBuilder- Returns:
- The timestamp.
-
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()Audit event timestamp
.google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];- Specified by:
getTimestampOrBuilderin interfaceRightsAuditEntryOrBuilder
-
getEventType
Event type (e.g., "rights_assigned", "license_changed", "usage_granted")
string event_type = 2 [json_name = "eventType"];- Specified by:
getEventTypein interfaceRightsAuditEntryOrBuilder- Returns:
- The eventType.
-
getEventTypeBytes
public com.google.protobuf.ByteString getEventTypeBytes()Event type (e.g., "rights_assigned", "license_changed", "usage_granted")
string event_type = 2 [json_name = "eventType"];- Specified by:
getEventTypeBytesin interfaceRightsAuditEntryOrBuilder- Returns:
- The bytes for eventType.
-
hasActor
public boolean hasActor()Actor who performed the action
optional string actor = 3 [json_name = "actor"];- Specified by:
hasActorin interfaceRightsAuditEntryOrBuilder- Returns:
- Whether the actor field is set.
-
getActor
Actor who performed the action
optional string actor = 3 [json_name = "actor"];- Specified by:
getActorin interfaceRightsAuditEntryOrBuilder- Returns:
- The actor.
-
getActorBytes
public com.google.protobuf.ByteString getActorBytes()Actor who performed the action
optional string actor = 3 [json_name = "actor"];- Specified by:
getActorBytesin interfaceRightsAuditEntryOrBuilder- Returns:
- The bytes for actor.
-
hasDescription
public boolean hasDescription()Description of the rights event
optional string description = 4 [json_name = "description"];- Specified by:
hasDescriptionin interfaceRightsAuditEntryOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Description of the rights event
optional string description = 4 [json_name = "description"];- Specified by:
getDescriptionin interfaceRightsAuditEntryOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the rights event
optional string description = 4 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceRightsAuditEntryOrBuilder- Returns:
- The bytes for description.
-
hasPreviousState
public boolean hasPreviousState()Previous rights state (if applicable)
optional string previous_state = 5 [json_name = "previousState"];- Specified by:
hasPreviousStatein interfaceRightsAuditEntryOrBuilder- Returns:
- Whether the previousState field is set.
-
getPreviousState
Previous rights state (if applicable)
optional string previous_state = 5 [json_name = "previousState"];- Specified by:
getPreviousStatein interfaceRightsAuditEntryOrBuilder- Returns:
- The previousState.
-
getPreviousStateBytes
public com.google.protobuf.ByteString getPreviousStateBytes()Previous rights state (if applicable)
optional string previous_state = 5 [json_name = "previousState"];- Specified by:
getPreviousStateBytesin interfaceRightsAuditEntryOrBuilder- Returns:
- The bytes for previousState.
-
hasNewState
public boolean hasNewState()New rights state
optional string new_state = 6 [json_name = "newState"];- Specified by:
hasNewStatein interfaceRightsAuditEntryOrBuilder- Returns:
- Whether the newState field is set.
-
getNewState
New rights state
optional string new_state = 6 [json_name = "newState"];- Specified by:
getNewStatein interfaceRightsAuditEntryOrBuilder- Returns:
- The newState.
-
getNewStateBytes
public com.google.protobuf.ByteString getNewStateBytes()New rights state
optional string new_state = 6 [json_name = "newState"];- Specified by:
getNewStateBytesin interfaceRightsAuditEntryOrBuilder- Returns:
- The bytes for newState.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 RightsAuditEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RightsAuditEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RightsAuditEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RightsAuditEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RightsAuditEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RightsAuditEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RightsAuditEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RightsAuditEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RightsAuditEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RightsAuditEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RightsAuditEntry.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-