Class AuditRecord.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
org.yamcs.protobuf.audit.AuditRecord.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, AuditRecordOrBuilder
Enclosing class:
AuditRecord

public static final class AuditRecord.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder> implements AuditRecordOrBuilder
Protobuf type yamcs.protobuf.audit.AuditRecord
  • Method Details

    • getDescriptor

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

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

      public AuditRecord.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.GeneratedMessageV3.Builder<AuditRecord.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.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • getDefaultInstanceForType

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

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

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

      public AuditRecord.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • setField

      public AuditRecord.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • clearField

      public AuditRecord.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • clearOneof

      public AuditRecord.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • setRepeatedField

      public AuditRecord.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • addRepeatedField

      public AuditRecord.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • mergeFrom

      public AuditRecord.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<AuditRecord.Builder>
    • mergeFrom

      public AuditRecord.Builder mergeFrom(AuditRecord other)
    • isInitialized

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

      public AuditRecord.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<AuditRecord.Builder>
      Throws:
      IOException
    • hasTime

      public boolean hasTime()
      optional .google.protobuf.Timestamp time = 1;
      Specified by:
      hasTime in interface AuditRecordOrBuilder
      Returns:
      Whether the time field is set.
    • getTime

      public com.google.protobuf.Timestamp getTime()
      optional .google.protobuf.Timestamp time = 1;
      Specified by:
      getTime in interface AuditRecordOrBuilder
      Returns:
      The time.
    • setTime

      public AuditRecord.Builder setTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp time = 1;
    • setTime

      public AuditRecord.Builder setTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp time = 1;
    • mergeTime

      public AuditRecord.Builder mergeTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp time = 1;
    • clearTime

      public AuditRecord.Builder clearTime()
      optional .google.protobuf.Timestamp time = 1;
    • getTimeBuilder

      public com.google.protobuf.Timestamp.Builder getTimeBuilder()
      optional .google.protobuf.Timestamp time = 1;
    • getTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
      optional .google.protobuf.Timestamp time = 1;
      Specified by:
      getTimeOrBuilder in interface AuditRecordOrBuilder
    • hasService

      public boolean hasService()
      optional string service = 2;
      Specified by:
      hasService in interface AuditRecordOrBuilder
      Returns:
      Whether the service field is set.
    • getService

      public String getService()
      optional string service = 2;
      Specified by:
      getService in interface AuditRecordOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
      optional string service = 2;
      Specified by:
      getServiceBytes in interface AuditRecordOrBuilder
      Returns:
      The bytes for service.
    • setService

      public AuditRecord.Builder setService(String value)
      optional string service = 2;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      public AuditRecord.Builder clearService()
      optional string service = 2;
      Returns:
      This builder for chaining.
    • setServiceBytes

      public AuditRecord.Builder setServiceBytes(com.google.protobuf.ByteString value)
      optional string service = 2;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.
    • hasMethod

      public boolean hasMethod()
      optional string method = 3;
      Specified by:
      hasMethod in interface AuditRecordOrBuilder
      Returns:
      Whether the method field is set.
    • getMethod

      public String getMethod()
      optional string method = 3;
      Specified by:
      getMethod in interface AuditRecordOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
      optional string method = 3;
      Specified by:
      getMethodBytes in interface AuditRecordOrBuilder
      Returns:
      The bytes for method.
    • setMethod

      public AuditRecord.Builder setMethod(String value)
      optional string method = 3;
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

      public AuditRecord.Builder clearMethod()
      optional string method = 3;
      Returns:
      This builder for chaining.
    • setMethodBytes

      public AuditRecord.Builder setMethodBytes(com.google.protobuf.ByteString value)
      optional string method = 3;
      Parameters:
      value - The bytes for method to set.
      Returns:
      This builder for chaining.
    • hasUser

      public boolean hasUser()
      optional string user = 4;
      Specified by:
      hasUser in interface AuditRecordOrBuilder
      Returns:
      Whether the user field is set.
    • getUser

      public String getUser()
      optional string user = 4;
      Specified by:
      getUser in interface AuditRecordOrBuilder
      Returns:
      The user.
    • getUserBytes

      public com.google.protobuf.ByteString getUserBytes()
      optional string user = 4;
      Specified by:
      getUserBytes in interface AuditRecordOrBuilder
      Returns:
      The bytes for user.
    • setUser

      public AuditRecord.Builder setUser(String value)
      optional string user = 4;
      Parameters:
      value - The user to set.
      Returns:
      This builder for chaining.
    • clearUser

      public AuditRecord.Builder clearUser()
      optional string user = 4;
      Returns:
      This builder for chaining.
    • setUserBytes

      public AuditRecord.Builder setUserBytes(com.google.protobuf.ByteString value)
      optional string user = 4;
      Parameters:
      value - The bytes for user to set.
      Returns:
      This builder for chaining.
    • hasSummary

      public boolean hasSummary()
      optional string summary = 5;
      Specified by:
      hasSummary in interface AuditRecordOrBuilder
      Returns:
      Whether the summary field is set.
    • getSummary

      public String getSummary()
      optional string summary = 5;
      Specified by:
      getSummary in interface AuditRecordOrBuilder
      Returns:
      The summary.
    • getSummaryBytes

      public com.google.protobuf.ByteString getSummaryBytes()
      optional string summary = 5;
      Specified by:
      getSummaryBytes in interface AuditRecordOrBuilder
      Returns:
      The bytes for summary.
    • setSummary

      public AuditRecord.Builder setSummary(String value)
      optional string summary = 5;
      Parameters:
      value - The summary to set.
      Returns:
      This builder for chaining.
    • clearSummary

      public AuditRecord.Builder clearSummary()
      optional string summary = 5;
      Returns:
      This builder for chaining.
    • setSummaryBytes

      public AuditRecord.Builder setSummaryBytes(com.google.protobuf.ByteString value)
      optional string summary = 5;
      Parameters:
      value - The bytes for summary to set.
      Returns:
      This builder for chaining.
    • hasRequest

      public boolean hasRequest()
      optional .google.protobuf.Struct request = 6;
      Specified by:
      hasRequest in interface AuditRecordOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public com.google.protobuf.Struct getRequest()
      optional .google.protobuf.Struct request = 6;
      Specified by:
      getRequest in interface AuditRecordOrBuilder
      Returns:
      The request.
    • setRequest

      public AuditRecord.Builder setRequest(com.google.protobuf.Struct value)
      optional .google.protobuf.Struct request = 6;
    • setRequest

      public AuditRecord.Builder setRequest(com.google.protobuf.Struct.Builder builderForValue)
      optional .google.protobuf.Struct request = 6;
    • mergeRequest

      public AuditRecord.Builder mergeRequest(com.google.protobuf.Struct value)
      optional .google.protobuf.Struct request = 6;
    • clearRequest

      public AuditRecord.Builder clearRequest()
      optional .google.protobuf.Struct request = 6;
    • getRequestBuilder

      public com.google.protobuf.Struct.Builder getRequestBuilder()
      optional .google.protobuf.Struct request = 6;
    • getRequestOrBuilder

      public com.google.protobuf.StructOrBuilder getRequestOrBuilder()
      optional .google.protobuf.Struct request = 6;
      Specified by:
      getRequestOrBuilder in interface AuditRecordOrBuilder
    • setUnknownFields

      public final AuditRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>
    • mergeUnknownFields

      public final AuditRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AuditRecord.Builder>