Class ListAuditRecordsRequest.Builder

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

public static final class ListAuditRecordsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListAuditRecordsRequest.Builder> implements ListAuditRecordsRequestOrBuilder
Protobuf type yamcs.protobuf.audit.ListAuditRecordsRequest
  • 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<ListAuditRecordsRequest.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<ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>
    • getDefaultInstanceForType

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

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

      public ListAuditRecordsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ListAuditRecordsRequest.Builder>
    • setField

      public ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>
    • clearField

      public ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>
    • clearOneof

      public ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>
    • setRepeatedField

      public ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance.
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface ListAuditRecordsRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance.
       
      optional string instance = 1;
      Specified by:
      getInstance in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance.
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public ListAuditRecordsRequest.Builder setInstance(String value)
       Yamcs instance.
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public ListAuditRecordsRequest.Builder clearInstance()
       Yamcs instance.
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public ListAuditRecordsRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance.
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasLimit

      public boolean hasLimit()
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 2;
      Specified by:
      hasLimit in interface ListAuditRecordsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public int getLimit()
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 2;
      Specified by:
      getLimit in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public ListAuditRecordsRequest.Builder setLimit(int value)
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 2;
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      public ListAuditRecordsRequest.Builder clearLimit()
       The maximum number of returned records per page. Choose this value too high
        and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 2;
      Returns:
      This builder for chaining.
    • hasNext

      public boolean hasNext()
       Continuation token returned by a previous page response.
       
      optional string next = 3;
      Specified by:
      hasNext in interface ListAuditRecordsRequestOrBuilder
      Returns:
      Whether the next field is set.
    • getNext

      public String getNext()
       Continuation token returned by a previous page response.
       
      optional string next = 3;
      Specified by:
      getNext in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The next.
    • getNextBytes

      public com.google.protobuf.ByteString getNextBytes()
       Continuation token returned by a previous page response.
       
      optional string next = 3;
      Specified by:
      getNextBytes in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

      public ListAuditRecordsRequest.Builder setNext(String value)
       Continuation token returned by a previous page response.
       
      optional string next = 3;
      Parameters:
      value - The next to set.
      Returns:
      This builder for chaining.
    • clearNext

      public ListAuditRecordsRequest.Builder clearNext()
       Continuation token returned by a previous page response.
       
      optional string next = 3;
      Returns:
      This builder for chaining.
    • setNextBytes

      public ListAuditRecordsRequest.Builder setNextBytes(com.google.protobuf.ByteString value)
       Continuation token returned by a previous page response.
       
      optional string next = 3;
      Parameters:
      value - The bytes for next to set.
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      hasStart in interface ListAuditRecordsRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStart in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public ListAuditRecordsRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • setStart

      public ListAuditRecordsRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • mergeStart

      public ListAuditRecordsRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • clearStart

      public ListAuditRecordsRequest.Builder clearStart()
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter the lower bound of the record's time. Specify a date string in
       ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStartOrBuilder in interface ListAuditRecordsRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      hasStop in interface ListAuditRecordsRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStop in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ListAuditRecordsRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • setStop

      public ListAuditRecordsRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • mergeStop

      public ListAuditRecordsRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • clearStop

      public ListAuditRecordsRequest.Builder clearStop()
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the record's generation time. Specify a date string in
       ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStopOrBuilder in interface ListAuditRecordsRequestOrBuilder
    • hasQ

      public boolean hasQ()
       Text to search for in the summary.
       
      optional string q = 6;
      Specified by:
      hasQ in interface ListAuditRecordsRequestOrBuilder
      Returns:
      Whether the q field is set.
    • getQ

      public String getQ()
       Text to search for in the summary.
       
      optional string q = 6;
      Specified by:
      getQ in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The q.
    • getQBytes

      public com.google.protobuf.ByteString getQBytes()
       Text to search for in the summary.
       
      optional string q = 6;
      Specified by:
      getQBytes in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The bytes for q.
    • setQ

       Text to search for in the summary.
       
      optional string q = 6;
      Parameters:
      value - The q to set.
      Returns:
      This builder for chaining.
    • clearQ

       Text to search for in the summary.
       
      optional string q = 6;
      Returns:
      This builder for chaining.
    • setQBytes

      public ListAuditRecordsRequest.Builder setQBytes(com.google.protobuf.ByteString value)
       Text to search for in the summary.
       
      optional string q = 6;
      Parameters:
      value - The bytes for q to set.
      Returns:
      This builder for chaining.
    • hasService

      public boolean hasService()
       Include only records matching the specified service.
       
      optional string service = 7;
      Specified by:
      hasService in interface ListAuditRecordsRequestOrBuilder
      Returns:
      Whether the service field is set.
    • getService

      public String getService()
       Include only records matching the specified service.
       
      optional string service = 7;
      Specified by:
      getService in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The service.
    • getServiceBytes

      public com.google.protobuf.ByteString getServiceBytes()
       Include only records matching the specified service.
       
      optional string service = 7;
      Specified by:
      getServiceBytes in interface ListAuditRecordsRequestOrBuilder
      Returns:
      The bytes for service.
    • setService

      public ListAuditRecordsRequest.Builder setService(String value)
       Include only records matching the specified service.
       
      optional string service = 7;
      Parameters:
      value - The service to set.
      Returns:
      This builder for chaining.
    • clearService

      public ListAuditRecordsRequest.Builder clearService()
       Include only records matching the specified service.
       
      optional string service = 7;
      Returns:
      This builder for chaining.
    • setServiceBytes

      public ListAuditRecordsRequest.Builder setServiceBytes(com.google.protobuf.ByteString value)
       Include only records matching the specified service.
       
      optional string service = 7;
      Parameters:
      value - The bytes for service to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>
    • mergeUnknownFields

      public final ListAuditRecordsRequest.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<ListAuditRecordsRequest.Builder>