Class Rule

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.Rule
All Implemented Interfaces:
RuleOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Rule extends com.google.protobuf.GeneratedMessage implements RuleOrBuilder
 The Rule resource represents a user-created rule.
 NEXT TAG: 21
 
Protobuf type google.cloud.chronicle.v1.Rule
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • REVISION_ID_FIELD_NUMBER

      public static final int REVISION_ID_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • TEXT_FIELD_NUMBER

      public static final int TEXT_FIELD_NUMBER
      See Also:
    • AUTHOR_FIELD_NUMBER

      public static final int AUTHOR_FIELD_NUMBER
      See Also:
    • SEVERITY_FIELD_NUMBER

      public static final int SEVERITY_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • REVISION_CREATE_TIME_FIELD_NUMBER

      public static final int REVISION_CREATE_TIME_FIELD_NUMBER
      See Also:
    • COMPILATION_STATE_FIELD_NUMBER

      public static final int COMPILATION_STATE_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • REFERENCE_LISTS_FIELD_NUMBER

      public static final int REFERENCE_LISTS_FIELD_NUMBER
      See Also:
    • ALLOWED_RUN_FREQUENCIES_FIELD_NUMBER

      public static final int ALLOWED_RUN_FREQUENCIES_FIELD_NUMBER
      See Also:
    • ETAG_FIELD_NUMBER

      public static final int ETAG_FIELD_NUMBER
      See Also:
    • SCOPE_FIELD_NUMBER

      public static final int SCOPE_FIELD_NUMBER
      See Also:
    • COMPILATION_DIAGNOSTICS_FIELD_NUMBER

      public static final int COMPILATION_DIAGNOSTICS_FIELD_NUMBER
      See Also:
    • NEAR_REAL_TIME_LIVE_RULE_ELIGIBLE_FIELD_NUMBER

      public static final int NEAR_REAL_TIME_LIVE_RULE_ELIGIBLE_FIELD_NUMBER
      See Also:
    • INPUTS_USED_FIELD_NUMBER

      public static final int INPUTS_USED_FIELD_NUMBER
      See Also:
  • Method Details

    • 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.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Identifier. Full resource name for the rule.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface RuleOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Full resource name for the rule.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface RuleOrBuilder
      Returns:
      The bytes for name.
    • getRevisionId

      public String getRevisionId()
       Output only. The revision ID of the rule.
       A new revision is created whenever the rule text is changed in any way.
       Format: `v_{10 digits}_{9 digits}`
       Populated in REVISION_METADATA_ONLY view and FULL view.
       
      string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionId in interface RuleOrBuilder
      Returns:
      The revisionId.
    • getRevisionIdBytes

      public com.google.protobuf.ByteString getRevisionIdBytes()
       Output only. The revision ID of the rule.
       A new revision is created whenever the rule text is changed in any way.
       Format: `v_{10 digits}_{9 digits}`
       Populated in REVISION_METADATA_ONLY view and FULL view.
       
      string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionIdBytes in interface RuleOrBuilder
      Returns:
      The bytes for revisionId.
    • getDisplayName

      public String getDisplayName()
       Output only. Display name of the rule.
       Populated in BASIC view and FULL view.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface RuleOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. Display name of the rule.
       Populated in BASIC view and FULL view.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface RuleOrBuilder
      Returns:
      The bytes for displayName.
    • getText

      public String getText()
       The YARA-L content of the rule.
       Populated in FULL view.
       
      string text = 4;
      Specified by:
      getText in interface RuleOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
       The YARA-L content of the rule.
       Populated in FULL view.
       
      string text = 4;
      Specified by:
      getTextBytes in interface RuleOrBuilder
      Returns:
      The bytes for text.
    • getAuthor

      public String getAuthor()
       Output only. The author of the rule. Extracted from the meta section of
       text. Populated in BASIC view and FULL view.
       
      string author = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAuthor in interface RuleOrBuilder
      Returns:
      The author.
    • getAuthorBytes

      public com.google.protobuf.ByteString getAuthorBytes()
       Output only. The author of the rule. Extracted from the meta section of
       text. Populated in BASIC view and FULL view.
       
      string author = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAuthorBytes in interface RuleOrBuilder
      Returns:
      The bytes for author.
    • hasSeverity

      public boolean hasSeverity()
       Output only. The severity of the rule as specified in the meta section of
       text. Populated in BASIC view and FULL view.
       
      .google.cloud.chronicle.v1.Severity severity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSeverity in interface RuleOrBuilder
      Returns:
      Whether the severity field is set.
    • getSeverity

      public Severity getSeverity()
       Output only. The severity of the rule as specified in the meta section of
       text. Populated in BASIC view and FULL view.
       
      .google.cloud.chronicle.v1.Severity severity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSeverity in interface RuleOrBuilder
      Returns:
      The severity.
    • getSeverityOrBuilder

      public SeverityOrBuilder getSeverityOrBuilder()
       Output only. The severity of the rule as specified in the meta section of
       text. Populated in BASIC view and FULL view.
       
      .google.cloud.chronicle.v1.Severity severity = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSeverityOrBuilder in interface RuleOrBuilder
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: RuleOrBuilder
       Output only. Additional metadata specified in the meta section of text.
       Populated in FULL view.
       
      map<string, string> metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMetadataCount in interface RuleOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Output only. Additional metadata specified in the meta section of text.
       Populated in FULL view.
       
      map<string, string> metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      containsMetadata in interface RuleOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface RuleOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Output only. Additional metadata specified in the meta section of text.
       Populated in FULL view.
       
      map<string, string> metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMetadataMap in interface RuleOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Output only. Additional metadata specified in the meta section of text.
       Populated in FULL view.
       
      map<string, string> metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMetadataOrDefault in interface RuleOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Output only. Additional metadata specified in the meta section of text.
       Populated in FULL view.
       
      map<string, string> metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMetadataOrThrow in interface RuleOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The timestamp of when the rule was created.
       Populated in FULL view.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface RuleOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The timestamp of when the rule was created.
       Populated in FULL view.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface RuleOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The timestamp of when the rule was created.
       Populated in FULL view.
       
      .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface RuleOrBuilder
    • hasRevisionCreateTime

      public boolean hasRevisionCreateTime()
       Output only. The timestamp of when the rule revision was created.
       Populated in FULL, REVISION_METADATA_ONLY views.
       
      .google.protobuf.Timestamp revision_create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRevisionCreateTime in interface RuleOrBuilder
      Returns:
      Whether the revisionCreateTime field is set.
    • getRevisionCreateTime

      public com.google.protobuf.Timestamp getRevisionCreateTime()
       Output only. The timestamp of when the rule revision was created.
       Populated in FULL, REVISION_METADATA_ONLY views.
       
      .google.protobuf.Timestamp revision_create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionCreateTime in interface RuleOrBuilder
      Returns:
      The revisionCreateTime.
    • getRevisionCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
       Output only. The timestamp of when the rule revision was created.
       Populated in FULL, REVISION_METADATA_ONLY views.
       
      .google.protobuf.Timestamp revision_create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionCreateTimeOrBuilder in interface RuleOrBuilder
    • getCompilationStateValue

      public int getCompilationStateValue()
       Output only. The current compilation state of the rule.
       Populated in FULL view.
       
      .google.cloud.chronicle.v1.Rule.CompilationState compilation_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompilationStateValue in interface RuleOrBuilder
      Returns:
      The enum numeric value on the wire for compilationState.
    • getCompilationState

      public Rule.CompilationState getCompilationState()
       Output only. The current compilation state of the rule.
       Populated in FULL view.
       
      .google.cloud.chronicle.v1.Rule.CompilationState compilation_state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompilationState in interface RuleOrBuilder
      Returns:
      The compilationState.
    • getTypeValue

      public int getTypeValue()
       Output only. User-facing type of the rule. Extracted from the events
       section of rule text. Populated in BASIC view and FULL view.
       
      .google.cloud.chronicle.v1.RuleType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface RuleOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public RuleType getType()
       Output only. User-facing type of the rule. Extracted from the events
       section of rule text. Populated in BASIC view and FULL view.
       
      .google.cloud.chronicle.v1.RuleType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface RuleOrBuilder
      Returns:
      The type.
    • getReferenceListsList

      public com.google.protobuf.ProtocolStringList getReferenceListsList()
       Output only. Resource names of the reference lists used in this rule.
       Populated in FULL view.
       
      repeated string reference_lists = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferenceListsList in interface RuleOrBuilder
      Returns:
      A list containing the referenceLists.
    • getReferenceListsCount

      public int getReferenceListsCount()
       Output only. Resource names of the reference lists used in this rule.
       Populated in FULL view.
       
      repeated string reference_lists = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferenceListsCount in interface RuleOrBuilder
      Returns:
      The count of referenceLists.
    • getReferenceLists

      public String getReferenceLists(int index)
       Output only. Resource names of the reference lists used in this rule.
       Populated in FULL view.
       
      repeated string reference_lists = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferenceLists in interface RuleOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The referenceLists at the given index.
    • getReferenceListsBytes

      public com.google.protobuf.ByteString getReferenceListsBytes(int index)
       Output only. Resource names of the reference lists used in this rule.
       Populated in FULL view.
       
      repeated string reference_lists = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getReferenceListsBytes in interface RuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the referenceLists at the given index.
    • getAllowedRunFrequenciesList

      public List<RunFrequency> getAllowedRunFrequenciesList()
       Output only. The run frequencies that are allowed for the rule.
       Populated in BASIC view and FULL view.
       
      repeated .google.cloud.chronicle.v1.RunFrequency allowed_run_frequencies = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllowedRunFrequenciesList in interface RuleOrBuilder
      Returns:
      A list containing the allowedRunFrequencies.
    • getAllowedRunFrequenciesCount

      public int getAllowedRunFrequenciesCount()
       Output only. The run frequencies that are allowed for the rule.
       Populated in BASIC view and FULL view.
       
      repeated .google.cloud.chronicle.v1.RunFrequency allowed_run_frequencies = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllowedRunFrequenciesCount in interface RuleOrBuilder
      Returns:
      The count of allowedRunFrequencies.
    • getAllowedRunFrequencies

      public RunFrequency getAllowedRunFrequencies(int index)
       Output only. The run frequencies that are allowed for the rule.
       Populated in BASIC view and FULL view.
       
      repeated .google.cloud.chronicle.v1.RunFrequency allowed_run_frequencies = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllowedRunFrequencies in interface RuleOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedRunFrequencies at the given index.
    • getAllowedRunFrequenciesValueList

      public List<Integer> getAllowedRunFrequenciesValueList()
       Output only. The run frequencies that are allowed for the rule.
       Populated in BASIC view and FULL view.
       
      repeated .google.cloud.chronicle.v1.RunFrequency allowed_run_frequencies = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllowedRunFrequenciesValueList in interface RuleOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for allowedRunFrequencies.
    • getAllowedRunFrequenciesValue

      public int getAllowedRunFrequenciesValue(int index)
       Output only. The run frequencies that are allowed for the rule.
       Populated in BASIC view and FULL view.
       
      repeated .google.cloud.chronicle.v1.RunFrequency allowed_run_frequencies = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAllowedRunFrequenciesValue in interface RuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of allowedRunFrequencies at the given index.
    • getEtag

      public String getEtag()
       The etag for this rule.
       If this is provided on update, the request will succeed if and only if it
       matches the server-computed value, and will fail with an ABORTED error
       otherwise.
       Populated in BASIC view and FULL view.
       
      string etag = 15;
      Specified by:
      getEtag in interface RuleOrBuilder
      Returns:
      The etag.
    • getEtagBytes

      public com.google.protobuf.ByteString getEtagBytes()
       The etag for this rule.
       If this is provided on update, the request will succeed if and only if it
       matches the server-computed value, and will fail with an ABORTED error
       otherwise.
       Populated in BASIC view and FULL view.
       
      string etag = 15;
      Specified by:
      getEtagBytes in interface RuleOrBuilder
      Returns:
      The bytes for etag.
    • getScope

      public String getScope()
       Resource name of the DataAccessScope bound to this rule.
       Populated in BASIC view and FULL view.
       If reference lists are used in the rule, validations will be performed
       against this scope to ensure that the reference lists are compatible with
       both the user's and the rule's scopes.
       The scope should be in the format:
       `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope}`.
       
      string scope = 16 [(.google.api.resource_reference) = { ... }
      Specified by:
      getScope in interface RuleOrBuilder
      Returns:
      The scope.
    • getScopeBytes

      public com.google.protobuf.ByteString getScopeBytes()
       Resource name of the DataAccessScope bound to this rule.
       Populated in BASIC view and FULL view.
       If reference lists are used in the rule, validations will be performed
       against this scope to ensure that the reference lists are compatible with
       both the user's and the rule's scopes.
       The scope should be in the format:
       `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope}`.
       
      string scope = 16 [(.google.api.resource_reference) = { ... }
      Specified by:
      getScopeBytes in interface RuleOrBuilder
      Returns:
      The bytes for scope.
    • getCompilationDiagnosticsList

      public List<CompilationDiagnostic> getCompilationDiagnosticsList()
       Output only. A list of a rule's corresponding compilation diagnostic
       messages such as compilation errors and compilation warnings. Populated in
       FULL view.
       
      repeated .google.cloud.chronicle.v1.CompilationDiagnostic compilation_diagnostics = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompilationDiagnosticsList in interface RuleOrBuilder
    • getCompilationDiagnosticsOrBuilderList

      public List<? extends CompilationDiagnosticOrBuilder> getCompilationDiagnosticsOrBuilderList()
       Output only. A list of a rule's corresponding compilation diagnostic
       messages such as compilation errors and compilation warnings. Populated in
       FULL view.
       
      repeated .google.cloud.chronicle.v1.CompilationDiagnostic compilation_diagnostics = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompilationDiagnosticsOrBuilderList in interface RuleOrBuilder
    • getCompilationDiagnosticsCount

      public int getCompilationDiagnosticsCount()
       Output only. A list of a rule's corresponding compilation diagnostic
       messages such as compilation errors and compilation warnings. Populated in
       FULL view.
       
      repeated .google.cloud.chronicle.v1.CompilationDiagnostic compilation_diagnostics = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompilationDiagnosticsCount in interface RuleOrBuilder
    • getCompilationDiagnostics

      public CompilationDiagnostic getCompilationDiagnostics(int index)
       Output only. A list of a rule's corresponding compilation diagnostic
       messages such as compilation errors and compilation warnings. Populated in
       FULL view.
       
      repeated .google.cloud.chronicle.v1.CompilationDiagnostic compilation_diagnostics = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompilationDiagnostics in interface RuleOrBuilder
    • getCompilationDiagnosticsOrBuilder

      public CompilationDiagnosticOrBuilder getCompilationDiagnosticsOrBuilder(int index)
       Output only. A list of a rule's corresponding compilation diagnostic
       messages such as compilation errors and compilation warnings. Populated in
       FULL view.
       
      repeated .google.cloud.chronicle.v1.CompilationDiagnostic compilation_diagnostics = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompilationDiagnosticsOrBuilder in interface RuleOrBuilder
    • getNearRealTimeLiveRuleEligible

      public boolean getNearRealTimeLiveRuleEligible()
       Output only. Indicate the rule can run in near real time live rule.
       If this is true, the rule uses the near real time live rule when the run
       frequency is set to LIVE.
       
      bool near_real_time_live_rule_eligible = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNearRealTimeLiveRuleEligible in interface RuleOrBuilder
      Returns:
      The nearRealTimeLiveRuleEligible.
    • hasInputsUsed

      public boolean hasInputsUsed()
       Output only. The set of inputs used in the rule. For example, if the rule
       uses $e.principal.hostname, then the uses_udm field will be true.
       
      .google.cloud.chronicle.v1.InputsUsed inputs_used = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInputsUsed in interface RuleOrBuilder
      Returns:
      Whether the inputsUsed field is set.
    • getInputsUsed

      public InputsUsed getInputsUsed()
       Output only. The set of inputs used in the rule. For example, if the rule
       uses $e.principal.hostname, then the uses_udm field will be true.
       
      .google.cloud.chronicle.v1.InputsUsed inputs_used = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInputsUsed in interface RuleOrBuilder
      Returns:
      The inputsUsed.
    • getInputsUsedOrBuilder

      public InputsUsedOrBuilder getInputsUsedOrBuilder()
       Output only. The set of inputs used in the rule. For example, if the rule
       uses $e.principal.hostname, then the uses_udm field will be true.
       
      .google.cloud.chronicle.v1.InputsUsed inputs_used = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInputsUsedOrBuilder in interface RuleOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Rule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Rule parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Rule parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Rule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Rule.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Rule.Builder newBuilder()
    • newBuilder

      public static Rule.Builder newBuilder(Rule prototype)
    • toBuilder

      public Rule.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Rule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Rule getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Rule> parser()
    • getParserForType

      public com.google.protobuf.Parser<Rule> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Rule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder