Class RightsAuditEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RightsAuditEntry.Builder>
com.google.protobuf.GeneratedMessage.Builder<RightsAuditEntry.Builder>
ai.pipestream.parsed.data.creative_commons.v1.RightsAuditEntry.Builder
All Implemented Interfaces:
RightsAuditEntryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RightsAuditEntry

public static final class RightsAuditEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<RightsAuditEntry.Builder> implements RightsAuditEntryOrBuilder
 Represents an entry in the rights audit trail
 
Protobuf type ai.pipestream.parsed.data.creative_commons.v1.RightsAuditEntry
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RightsAuditEntry.Builder>
    • clear

      public RightsAuditEntry.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RightsAuditEntry.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RightsAuditEntry.Builder>
    • getDefaultInstanceForType

      public RightsAuditEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RightsAuditEntry build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RightsAuditEntry buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RightsAuditEntry.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RightsAuditEntry.Builder>
    • mergeFrom

      public RightsAuditEntry.Builder mergeFrom(RightsAuditEntry other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RightsAuditEntry.Builder>
    • mergeFrom

      public RightsAuditEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RightsAuditEntry.Builder>
      Throws:
      IOException
    • hasTimestamp

      public boolean hasTimestamp()
       Audit event timestamp
       
      .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];
      Specified by:
      hasTimestamp in interface RightsAuditEntryOrBuilder
      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:
      getTimestamp in interface RightsAuditEntryOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public RightsAuditEntry.Builder setTimestamp(com.google.protobuf.Timestamp value)
       Audit event timestamp
       
      .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];
    • setTimestamp

      public RightsAuditEntry.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       Audit event timestamp
       
      .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];
    • mergeTimestamp

      public RightsAuditEntry.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
       Audit event timestamp
       
      .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];
    • clearTimestamp

      public RightsAuditEntry.Builder clearTimestamp()
       Audit event timestamp
       
      .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
       Audit event timestamp
       
      .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
       Audit event timestamp
       
      .google.protobuf.Timestamp timestamp = 1 [json_name = "timestamp"];
      Specified by:
      getTimestampOrBuilder in interface RightsAuditEntryOrBuilder
    • getEventType

      public String getEventType()
       Event type (e.g., "rights_assigned", "license_changed", "usage_granted")
       
      string event_type = 2 [json_name = "eventType"];
      Specified by:
      getEventType in interface RightsAuditEntryOrBuilder
      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:
      getEventTypeBytes in interface RightsAuditEntryOrBuilder
      Returns:
      The bytes for eventType.
    • setEventType

      public RightsAuditEntry.Builder setEventType(String value)
       Event type (e.g., "rights_assigned", "license_changed", "usage_granted")
       
      string event_type = 2 [json_name = "eventType"];
      Parameters:
      value - The eventType to set.
      Returns:
      This builder for chaining.
    • clearEventType

      public RightsAuditEntry.Builder clearEventType()
       Event type (e.g., "rights_assigned", "license_changed", "usage_granted")
       
      string event_type = 2 [json_name = "eventType"];
      Returns:
      This builder for chaining.
    • setEventTypeBytes

      public RightsAuditEntry.Builder setEventTypeBytes(com.google.protobuf.ByteString value)
       Event type (e.g., "rights_assigned", "license_changed", "usage_granted")
       
      string event_type = 2 [json_name = "eventType"];
      Parameters:
      value - The bytes for eventType to set.
      Returns:
      This builder for chaining.
    • hasActor

      public boolean hasActor()
       Actor who performed the action
       
      optional string actor = 3 [json_name = "actor"];
      Specified by:
      hasActor in interface RightsAuditEntryOrBuilder
      Returns:
      Whether the actor field is set.
    • getActor

      public String getActor()
       Actor who performed the action
       
      optional string actor = 3 [json_name = "actor"];
      Specified by:
      getActor in interface RightsAuditEntryOrBuilder
      Returns:
      The actor.
    • getActorBytes

      public com.google.protobuf.ByteString getActorBytes()
       Actor who performed the action
       
      optional string actor = 3 [json_name = "actor"];
      Specified by:
      getActorBytes in interface RightsAuditEntryOrBuilder
      Returns:
      The bytes for actor.
    • setActor

      public RightsAuditEntry.Builder setActor(String value)
       Actor who performed the action
       
      optional string actor = 3 [json_name = "actor"];
      Parameters:
      value - The actor to set.
      Returns:
      This builder for chaining.
    • clearActor

      public RightsAuditEntry.Builder clearActor()
       Actor who performed the action
       
      optional string actor = 3 [json_name = "actor"];
      Returns:
      This builder for chaining.
    • setActorBytes

      public RightsAuditEntry.Builder setActorBytes(com.google.protobuf.ByteString value)
       Actor who performed the action
       
      optional string actor = 3 [json_name = "actor"];
      Parameters:
      value - The bytes for actor to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       Description of the rights event
       
      optional string description = 4 [json_name = "description"];
      Specified by:
      hasDescription in interface RightsAuditEntryOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Description of the rights event
       
      optional string description = 4 [json_name = "description"];
      Specified by:
      getDescription in interface RightsAuditEntryOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of the rights event
       
      optional string description = 4 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface RightsAuditEntryOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public RightsAuditEntry.Builder setDescription(String value)
       Description of the rights event
       
      optional string description = 4 [json_name = "description"];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public RightsAuditEntry.Builder clearDescription()
       Description of the rights event
       
      optional string description = 4 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public RightsAuditEntry.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of the rights event
       
      optional string description = 4 [json_name = "description"];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasPreviousState

      public boolean hasPreviousState()
       Previous rights state (if applicable)
       
      optional string previous_state = 5 [json_name = "previousState"];
      Specified by:
      hasPreviousState in interface RightsAuditEntryOrBuilder
      Returns:
      Whether the previousState field is set.
    • getPreviousState

      public String getPreviousState()
       Previous rights state (if applicable)
       
      optional string previous_state = 5 [json_name = "previousState"];
      Specified by:
      getPreviousState in interface RightsAuditEntryOrBuilder
      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:
      getPreviousStateBytes in interface RightsAuditEntryOrBuilder
      Returns:
      The bytes for previousState.
    • setPreviousState

      public RightsAuditEntry.Builder setPreviousState(String value)
       Previous rights state (if applicable)
       
      optional string previous_state = 5 [json_name = "previousState"];
      Parameters:
      value - The previousState to set.
      Returns:
      This builder for chaining.
    • clearPreviousState

      public RightsAuditEntry.Builder clearPreviousState()
       Previous rights state (if applicable)
       
      optional string previous_state = 5 [json_name = "previousState"];
      Returns:
      This builder for chaining.
    • setPreviousStateBytes

      public RightsAuditEntry.Builder setPreviousStateBytes(com.google.protobuf.ByteString value)
       Previous rights state (if applicable)
       
      optional string previous_state = 5 [json_name = "previousState"];
      Parameters:
      value - The bytes for previousState to set.
      Returns:
      This builder for chaining.
    • hasNewState

      public boolean hasNewState()
       New rights state
       
      optional string new_state = 6 [json_name = "newState"];
      Specified by:
      hasNewState in interface RightsAuditEntryOrBuilder
      Returns:
      Whether the newState field is set.
    • getNewState

      public String getNewState()
       New rights state
       
      optional string new_state = 6 [json_name = "newState"];
      Specified by:
      getNewState in interface RightsAuditEntryOrBuilder
      Returns:
      The newState.
    • getNewStateBytes

      public com.google.protobuf.ByteString getNewStateBytes()
       New rights state
       
      optional string new_state = 6 [json_name = "newState"];
      Specified by:
      getNewStateBytes in interface RightsAuditEntryOrBuilder
      Returns:
      The bytes for newState.
    • setNewState

      public RightsAuditEntry.Builder setNewState(String value)
       New rights state
       
      optional string new_state = 6 [json_name = "newState"];
      Parameters:
      value - The newState to set.
      Returns:
      This builder for chaining.
    • clearNewState

      public RightsAuditEntry.Builder clearNewState()
       New rights state
       
      optional string new_state = 6 [json_name = "newState"];
      Returns:
      This builder for chaining.
    • setNewStateBytes

      public RightsAuditEntry.Builder setNewStateBytes(com.google.protobuf.ByteString value)
       New rights state
       
      optional string new_state = 6 [json_name = "newState"];
      Parameters:
      value - The bytes for newState to set.
      Returns:
      This builder for chaining.