Class Audit.AccessLogEntry.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Audit.AccessLogEntry.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Audit.AccessLogEntry.Builder>
      • internalGetFieldAccessorTable

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

        public Audit.AccessLogEntry.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<Audit.AccessLogEntry.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<Audit.AccessLogEntry.Builder>
      • getDefaultInstanceForType

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

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

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

        public Audit.AccessLogEntry.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<Audit.AccessLogEntry.Builder>
      • setField

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

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

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

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

        public Audit.AccessLogEntry.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Audit.AccessLogEntry.Builder>
      • isInitialized

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

        public Audit.AccessLogEntry.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws java.io.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<Audit.AccessLogEntry.Builder>
        Throws:
        java.io.IOException
      • setCallId

        public Audit.AccessLogEntry.Builder setCallId​(java.lang.String value)
        string call_id = 1;
        Parameters:
        value - The callId to set.
        Returns:
        This builder for chaining.
      • setCallIdBytes

        public Audit.AccessLogEntry.Builder setCallIdBytes​(com.google.protobuf.ByteString value)
        string call_id = 1;
        Parameters:
        value - The bytes for callId to set.
        Returns:
        This builder for chaining.
      • hasTimestamp

        public boolean hasTimestamp()
        .google.protobuf.Timestamp timestamp = 2;
        Specified by:
        hasTimestamp in interface Audit.AccessLogEntryOrBuilder
        Returns:
        Whether the timestamp field is set.
      • getTimestamp

        public com.google.protobuf.Timestamp getTimestamp()
        .google.protobuf.Timestamp timestamp = 2;
        Specified by:
        getTimestamp in interface Audit.AccessLogEntryOrBuilder
        Returns:
        The timestamp.
      • setTimestamp

        public Audit.AccessLogEntry.Builder setTimestamp​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp timestamp = 2;
      • setTimestamp

        public Audit.AccessLogEntry.Builder setTimestamp​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp timestamp = 2;
      • mergeTimestamp

        public Audit.AccessLogEntry.Builder mergeTimestamp​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp timestamp = 2;
      • getTimestampBuilder

        public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
        .google.protobuf.Timestamp timestamp = 2;
      • getPeerBuilder

        public Audit.Peer.Builder getPeerBuilder()
        .cerbos.audit.v1.Peer peer = 3;
      • removeMetadata

        public Audit.AccessLogEntry.Builder removeMetadata​(java.lang.String key)
        map<string, .cerbos.audit.v1.MetaValues> metadata = 4;
      • getMutableMetadata

        @Deprecated
        public java.util.Map<java.lang.String,​Audit.MetaValues> getMutableMetadata()
        Deprecated.
        Use alternate mutation accessors instead.
      • putMetadataBuilderIfAbsent

        public Audit.MetaValues.Builder putMetadataBuilderIfAbsent​(java.lang.String key)
        map<string, .cerbos.audit.v1.MetaValues> metadata = 4;
      • setMethod

        public Audit.AccessLogEntry.Builder setMethod​(java.lang.String value)
        string method = 5;
        Parameters:
        value - The method to set.
        Returns:
        This builder for chaining.
      • setMethodBytes

        public Audit.AccessLogEntry.Builder setMethodBytes​(com.google.protobuf.ByteString value)
        string method = 5;
        Parameters:
        value - The bytes for method to set.
        Returns:
        This builder for chaining.
      • setStatusCode

        public Audit.AccessLogEntry.Builder setStatusCode​(int value)
        uint32 status_code = 6;
        Parameters:
        value - The statusCode to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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