Package com.google.cloud.chronicle.v1
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: 21Protobuf type
google.cloud.chronicle.v1.Rule- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe Rule resource represents a user-created rule.static enumThe current compilation state of the rule.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) Output only.booleangetAllowedRunFrequencies(int index) Output only.intOutput only.Output only.intgetAllowedRunFrequenciesValue(int index) Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.getCompilationDiagnostics(int index) Output only.intOutput only.Output only.getCompilationDiagnosticsOrBuilder(int index) Output only.List<? extends CompilationDiagnosticOrBuilder>Output only.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static Rulestatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getEtag()The etag for this rule.com.google.protobuf.ByteStringThe etag for this rule.Output only.Output only.Deprecated.intOutput only.Output only.getMetadataOrDefault(String key, String defaultValue) Output only.getMetadataOrThrow(String key) Output only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.booleanOutput only.com.google.protobuf.Parser<Rule>getReferenceLists(int index) Output only.com.google.protobuf.ByteStringgetReferenceListsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.getScope()Resource name of the DataAccessScope bound to this rule.com.google.protobuf.ByteStringResource name of the DataAccessScope bound to this rule.intOutput only.Output only.getText()The YARA-L content of the rule.com.google.protobuf.ByteStringThe YARA-L content of the rule.getType()Output only.intOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Rule.Builderstatic Rule.BuildernewBuilder(Rule prototype) protected Rule.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RuleparseDelimitedFrom(InputStream input) static RuleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(byte[] data) static RuleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(com.google.protobuf.ByteString data) static RuleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(com.google.protobuf.CodedInputStream input) static RuleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(InputStream input) static RuleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RuleparseFrom(ByteBuffer data) static RuleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Rule>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getNamein interfaceRuleOrBuilder- 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:
getNameBytesin interfaceRuleOrBuilder- Returns:
- The bytes for name.
-
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:
getRevisionIdin interfaceRuleOrBuilder- 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:
getRevisionIdBytesin interfaceRuleOrBuilder- Returns:
- The bytes for revisionId.
-
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:
getDisplayNamein interfaceRuleOrBuilder- 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:
getDisplayNameBytesin interfaceRuleOrBuilder- Returns:
- The bytes for displayName.
-
getText
The YARA-L content of the rule. Populated in FULL view.
string text = 4;- Specified by:
getTextin interfaceRuleOrBuilder- 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:
getTextBytesin interfaceRuleOrBuilder- Returns:
- The bytes for text.
-
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:
getAuthorin interfaceRuleOrBuilder- 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:
getAuthorBytesin interfaceRuleOrBuilder- 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:
hasSeverityin interfaceRuleOrBuilder- Returns:
- Whether the severity field is set.
-
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:
getSeverityin interfaceRuleOrBuilder- Returns:
- The severity.
-
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:
getSeverityOrBuilderin interfaceRuleOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:RuleOrBuilderOutput 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:
getMetadataCountin interfaceRuleOrBuilder
-
containsMetadata
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:
containsMetadatain interfaceRuleOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceRuleOrBuilder
-
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:
getMetadataMapin interfaceRuleOrBuilder
-
getMetadataOrDefault
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:
getMetadataOrDefaultin interfaceRuleOrBuilder
-
getMetadataOrThrow
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:
getMetadataOrThrowin interfaceRuleOrBuilder
-
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:
hasCreateTimein interfaceRuleOrBuilder- 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:
getCreateTimein interfaceRuleOrBuilder- 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:
getCreateTimeOrBuilderin interfaceRuleOrBuilder
-
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:
hasRevisionCreateTimein interfaceRuleOrBuilder- 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:
getRevisionCreateTimein interfaceRuleOrBuilder- 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:
getRevisionCreateTimeOrBuilderin interfaceRuleOrBuilder
-
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:
getCompilationStateValuein interfaceRuleOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getCompilationStatein interfaceRuleOrBuilder- 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:
getTypeValuein interfaceRuleOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
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:
getTypein interfaceRuleOrBuilder- 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:
getReferenceListsListin interfaceRuleOrBuilder- 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:
getReferenceListsCountin interfaceRuleOrBuilder- Returns:
- The count of referenceLists.
-
getReferenceLists
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:
getReferenceListsin interfaceRuleOrBuilder- 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:
getReferenceListsBytesin interfaceRuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the referenceLists at the given index.
-
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:
getAllowedRunFrequenciesListin interfaceRuleOrBuilder- 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:
getAllowedRunFrequenciesCountin interfaceRuleOrBuilder- Returns:
- The count of allowedRunFrequencies.
-
getAllowedRunFrequencies
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:
getAllowedRunFrequenciesin interfaceRuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedRunFrequencies at the given index.
-
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:
getAllowedRunFrequenciesValueListin interfaceRuleOrBuilder- 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:
getAllowedRunFrequenciesValuein interfaceRuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of allowedRunFrequencies at the given index.
-
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:
getEtagin interfaceRuleOrBuilder- 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:
getEtagBytesin interfaceRuleOrBuilder- Returns:
- The bytes for etag.
-
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:
getScopein interfaceRuleOrBuilder- 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:
getScopeBytesin interfaceRuleOrBuilder- Returns:
- The bytes for scope.
-
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:
getCompilationDiagnosticsListin interfaceRuleOrBuilder
-
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:
getCompilationDiagnosticsOrBuilderListin interfaceRuleOrBuilder
-
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:
getCompilationDiagnosticsCountin interfaceRuleOrBuilder
-
getCompilationDiagnostics
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:
getCompilationDiagnosticsin interfaceRuleOrBuilder
-
getCompilationDiagnosticsOrBuilder
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:
getCompilationDiagnosticsOrBuilderin interfaceRuleOrBuilder
-
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:
getNearRealTimeLiveRuleEligiblein interfaceRuleOrBuilder- 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:
hasInputsUsedin interfaceRuleOrBuilder- Returns:
- Whether the inputsUsed field is set.
-
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:
getInputsUsedin interfaceRuleOrBuilder- Returns:
- The inputsUsed.
-
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:
getInputsUsedOrBuilderin interfaceRuleOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- 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
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-