Class Rule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Rule.Builder>
com.google.cloud.chronicle.v1.Rule.Builder
All Implemented Interfaces:
RuleOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Rule

public static final class Rule.Builder extends com.google.protobuf.GeneratedMessage.Builder<Rule.Builder> implements RuleOrBuilder
 The Rule resource represents a user-created rule.
 NEXT TAG: 21
 
Protobuf type google.cloud.chronicle.v1.Rule
  • 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.Builder<Rule.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Rule.Builder>
    • internalGetFieldAccessorTable

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

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

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

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

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

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

      public Rule.Builder mergeFrom(Rule other)
    • isInitialized

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

      public Rule.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<Rule.Builder>
      Throws:
      IOException
    • 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.
    • setName

      public Rule.Builder setName(String value)
       Identifier. Full resource name for the rule.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Rule.Builder clearName()
       Identifier. Full resource name for the rule.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Rule.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Full resource name for the rule.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRevisionId

      public Rule.Builder setRevisionId(String value)
       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];
      Parameters:
      value - The revisionId to set.
      Returns:
      This builder for chaining.
    • clearRevisionId

      public Rule.Builder clearRevisionId()
       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];
      Returns:
      This builder for chaining.
    • setRevisionIdBytes

      public Rule.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for revisionId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDisplayName

      public Rule.Builder setDisplayName(String value)
       Output only. Display name of the rule.
       Populated in BASIC view and FULL view.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Rule.Builder clearDisplayName()
       Output only. Display name of the rule.
       Populated in BASIC view and FULL view.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Rule.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. Display name of the rule.
       Populated in BASIC view and FULL view.
       
      string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • 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.
    • setText

      public Rule.Builder setText(String value)
       The YARA-L content of the rule.
       Populated in FULL view.
       
      string text = 4;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public Rule.Builder clearText()
       The YARA-L content of the rule.
       Populated in FULL view.
       
      string text = 4;
      Returns:
      This builder for chaining.
    • setTextBytes

      public Rule.Builder setTextBytes(com.google.protobuf.ByteString value)
       The YARA-L content of the rule.
       Populated in FULL view.
       
      string text = 4;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.
    • 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.
    • setAuthor

      public Rule.Builder setAuthor(String value)
       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];
      Parameters:
      value - The author to set.
      Returns:
      This builder for chaining.
    • clearAuthor

      public Rule.Builder clearAuthor()
       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];
      Returns:
      This builder for chaining.
    • setAuthorBytes

      public Rule.Builder setAuthorBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for author to set.
      Returns:
      This builder for chaining.
    • 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.
    • setSeverity

      public Rule.Builder setSeverity(Severity value)
       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];
    • setSeverity

      public Rule.Builder setSeverity(Severity.Builder builderForValue)
       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];
    • mergeSeverity

      public Rule.Builder mergeSeverity(Severity value)
       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];
    • clearSeverity

      public Rule.Builder clearSeverity()
       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];
    • getSeverityBuilder

      public Severity.Builder getSeverityBuilder()
       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];
    • 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
    • clearMetadata

      public Rule.Builder clearMetadata()
    • removeMetadata

      public Rule.Builder removeMetadata(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];
    • getMutableMetadata

      @Deprecated public Map<String,String> getMutableMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMetadata

      public Rule.Builder putMetadata(String key, String value)
       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];
    • putAllMetadata

      public Rule.Builder putAllMetadata(Map<String,String> values)
       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];
    • 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.
    • setCreateTime

      public Rule.Builder setCreateTime(com.google.protobuf.Timestamp value)
       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];
    • setCreateTime

      public Rule.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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];
    • mergeCreateTime

      public Rule.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       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];
    • clearCreateTime

      public Rule.Builder clearCreateTime()
       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];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       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];
    • 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.
    • setRevisionCreateTime

      public Rule.Builder setRevisionCreateTime(com.google.protobuf.Timestamp value)
       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];
    • setRevisionCreateTime

      public Rule.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       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];
    • mergeRevisionCreateTime

      public Rule.Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
       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];
    • clearRevisionCreateTime

      public Rule.Builder clearRevisionCreateTime()
       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];
    • getRevisionCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()
       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];
    • 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.
    • setCompilationStateValue

      public Rule.Builder setCompilationStateValue(int value)
       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];
      Parameters:
      value - The enum numeric value on the wire for compilationState to set.
      Returns:
      This builder for chaining.
    • 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.
    • setCompilationState

      public Rule.Builder setCompilationState(Rule.CompilationState value)
       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];
      Parameters:
      value - The compilationState to set.
      Returns:
      This builder for chaining.
    • clearCompilationState

      public Rule.Builder clearCompilationState()
       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];
      Returns:
      This builder for chaining.
    • 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.
    • setTypeValue

      public Rule.Builder setTypeValue(int value)
       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];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • 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.
    • setType

      public Rule.Builder setType(RuleType value)
       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];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Rule.Builder clearType()
       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];
      Returns:
      This builder for chaining.
    • 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.
    • setReferenceLists

      public Rule.Builder setReferenceLists(int index, String value)
       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) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The referenceLists to set.
      Returns:
      This builder for chaining.
    • addReferenceLists

      public Rule.Builder addReferenceLists(String value)
       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) = { ... }
      Parameters:
      value - The referenceLists to add.
      Returns:
      This builder for chaining.
    • addAllReferenceLists

      public Rule.Builder addAllReferenceLists(Iterable<String> values)
       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) = { ... }
      Parameters:
      values - The referenceLists to add.
      Returns:
      This builder for chaining.
    • clearReferenceLists

      public Rule.Builder clearReferenceLists()
       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) = { ... }
      Returns:
      This builder for chaining.
    • addReferenceListsBytes

      public Rule.Builder addReferenceListsBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes of the referenceLists to add.
      Returns:
      This builder for chaining.
    • 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.
    • setAllowedRunFrequencies

      public Rule.Builder setAllowedRunFrequencies(int index, RunFrequency value)
       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];
      Parameters:
      index - The index to set the value at.
      value - The allowedRunFrequencies to set.
      Returns:
      This builder for chaining.
    • addAllowedRunFrequencies

      public Rule.Builder addAllowedRunFrequencies(RunFrequency value)
       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];
      Parameters:
      value - The allowedRunFrequencies to add.
      Returns:
      This builder for chaining.
    • addAllAllowedRunFrequencies

      public Rule.Builder addAllAllowedRunFrequencies(Iterable<? extends RunFrequency> values)
       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];
      Parameters:
      values - The allowedRunFrequencies to add.
      Returns:
      This builder for chaining.
    • clearAllowedRunFrequencies

      public Rule.Builder clearAllowedRunFrequencies()
       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];
      Returns:
      This builder for chaining.
    • 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.
    • setAllowedRunFrequenciesValue

      public Rule.Builder setAllowedRunFrequenciesValue(int index, int value)
       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];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for allowedRunFrequencies to set.
      Returns:
      This builder for chaining.
    • addAllowedRunFrequenciesValue

      public Rule.Builder addAllowedRunFrequenciesValue(int value)
       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];
      Parameters:
      value - The enum numeric value on the wire for allowedRunFrequencies to add.
      Returns:
      This builder for chaining.
    • addAllAllowedRunFrequenciesValue

      public Rule.Builder addAllAllowedRunFrequenciesValue(Iterable<Integer> values)
       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];
      Parameters:
      values - The enum numeric values on the wire for allowedRunFrequencies to add.
      Returns:
      This builder for chaining.
    • 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.
    • setEtag

      public Rule.Builder setEtag(String value)
       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;
      Parameters:
      value - The etag to set.
      Returns:
      This builder for chaining.
    • clearEtag

      public Rule.Builder clearEtag()
       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;
      Returns:
      This builder for chaining.
    • setEtagBytes

      public Rule.Builder setEtagBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for etag to set.
      Returns:
      This builder for chaining.
    • 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.
    • setScope

      public Rule.Builder setScope(String value)
       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) = { ... }
      Parameters:
      value - The scope to set.
      Returns:
      This builder for chaining.
    • clearScope

      public Rule.Builder clearScope()
       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) = { ... }
      Returns:
      This builder for chaining.
    • setScopeBytes

      public Rule.Builder setScopeBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for scope to set.
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setCompilationDiagnostics

      public Rule.Builder setCompilationDiagnostics(int index, CompilationDiagnostic value)
       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];
    • setCompilationDiagnostics

      public Rule.Builder setCompilationDiagnostics(int index, CompilationDiagnostic.Builder builderForValue)
       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];
    • addCompilationDiagnostics

      public Rule.Builder addCompilationDiagnostics(CompilationDiagnostic value)
       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];
    • addCompilationDiagnostics

      public Rule.Builder addCompilationDiagnostics(int index, CompilationDiagnostic value)
       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];
    • addCompilationDiagnostics

      public Rule.Builder addCompilationDiagnostics(CompilationDiagnostic.Builder builderForValue)
       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];
    • addCompilationDiagnostics

      public Rule.Builder addCompilationDiagnostics(int index, CompilationDiagnostic.Builder builderForValue)
       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];
    • addAllCompilationDiagnostics

      public Rule.Builder addAllCompilationDiagnostics(Iterable<? extends CompilationDiagnostic> values)
       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];
    • clearCompilationDiagnostics

      public Rule.Builder clearCompilationDiagnostics()
       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];
    • removeCompilationDiagnostics

      public Rule.Builder removeCompilationDiagnostics(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];
    • getCompilationDiagnosticsBuilder

      public CompilationDiagnostic.Builder getCompilationDiagnosticsBuilder(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];
    • 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
    • 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
    • addCompilationDiagnosticsBuilder

      public CompilationDiagnostic.Builder addCompilationDiagnosticsBuilder()
       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];
    • addCompilationDiagnosticsBuilder

      public CompilationDiagnostic.Builder addCompilationDiagnosticsBuilder(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];
    • getCompilationDiagnosticsBuilderList

      public List<CompilationDiagnostic.Builder> getCompilationDiagnosticsBuilderList()
       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];
    • 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.
    • setNearRealTimeLiveRuleEligible

      public Rule.Builder setNearRealTimeLiveRuleEligible(boolean value)
       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];
      Parameters:
      value - The nearRealTimeLiveRuleEligible to set.
      Returns:
      This builder for chaining.
    • clearNearRealTimeLiveRuleEligible

      public Rule.Builder clearNearRealTimeLiveRuleEligible()
       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];
      Returns:
      This builder for chaining.
    • 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.
    • setInputsUsed

      public Rule.Builder setInputsUsed(InputsUsed value)
       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];
    • setInputsUsed

      public Rule.Builder setInputsUsed(InputsUsed.Builder builderForValue)
       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];
    • mergeInputsUsed

      public Rule.Builder mergeInputsUsed(InputsUsed value)
       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];
    • clearInputsUsed

      public Rule.Builder clearInputsUsed()
       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];
    • getInputsUsedBuilder

      public InputsUsed.Builder getInputsUsedBuilder()
       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];
    • 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