Package com.google.cloud.chronicle.v1
Class RuleDeployment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RuleDeployment.Builder>
com.google.cloud.chronicle.v1.RuleDeployment.Builder
- All Implemented Interfaces:
RuleDeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RuleDeployment
public static final class RuleDeployment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RuleDeployment.Builder>
implements RuleDeploymentOrBuilder
The RuleDeployment resource represents the deployment state of a Rule.Protobuf type
google.cloud.chronicle.v1.RuleDeployment-
Method Summary
Modifier and TypeMethodDescriptionaddAllConsumerRules(Iterable<String> values) Output only.addAllProducerRules(Iterable<String> values) Output only.addConsumerRules(String value) Output only.addConsumerRulesBytes(com.google.protobuf.ByteString value) Output only.addProducerRules(String value) Output only.addProducerRulesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Whether detections resulting from this deployment should be considered alerts.The archive state of the rule deployment.Output only.Output only.Whether the rule is currently deployed continuously against incoming data.Output only.Output only.Required.Output only.The run frequency of the rule deployment.booleanWhether detections resulting from this deployment should be considered alerts.booleanThe archive state of the rule deployment.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getConsumerRules(int index) Output only.com.google.protobuf.ByteStringgetConsumerRulesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether the rule is currently deployed continuously against incoming data.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Required.com.google.protobuf.ByteStringRequired.getProducerRules(int index) Output only.com.google.protobuf.ByteStringgetProducerRulesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.The run frequency of the rule deployment.intThe run frequency of the rule deployment.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeArchiveTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(RuleDeployment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastAlertStatusChangeTime(com.google.protobuf.Timestamp value) Output only.setAlerting(boolean value) Whether detections resulting from this deployment should be considered alerts.setArchived(boolean value) The archive state of the rule deployment.setArchiveTime(com.google.protobuf.Timestamp value) Output only.setArchiveTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setConsumerRules(int index, String value) Output only.setEnabled(boolean value) Whether the rule is currently deployed continuously against incoming data.Output only.setExecutionStateValue(int value) Output only.setLastAlertStatusChangeTime(com.google.protobuf.Timestamp value) Output only.setLastAlertStatusChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setProducerRules(int index, String value) Output only.setRunFrequency(RunFrequency value) The run frequency of the rule deployment.setRunFrequencyValue(int value) The run frequency of the rule deployment.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RuleDeployment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RuleDeployment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RuleDeployment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuleDeployment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RuleDeployment.Builder>
-
mergeFrom
public RuleDeployment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuleDeployment.Builder>- Throws:
IOException
-
getName
Required. The resource name of the rule deployment. Note that RuleDeployment is a child of the overall Rule, not any individual revision, so the resource ID segment for the Rule resource must not reference a specific revision. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceRuleDeploymentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The resource name of the rule deployment. Note that RuleDeployment is a child of the overall Rule, not any individual revision, so the resource ID segment for the Rule resource must not reference a specific revision. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceRuleDeploymentOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The resource name of the rule deployment. Note that RuleDeployment is a child of the overall Rule, not any individual revision, so the resource ID segment for the Rule resource must not reference a specific revision. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The resource name of the rule deployment. Note that RuleDeployment is a child of the overall Rule, not any individual revision, so the resource ID segment for the Rule resource must not reference a specific revision. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. The resource name of the rule deployment. Note that RuleDeployment is a child of the overall Rule, not any individual revision, so the resource ID segment for the Rule resource must not reference a specific revision. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getEnabled
public boolean getEnabled()Whether the rule is currently deployed continuously against incoming data.
bool enabled = 2;- Specified by:
getEnabledin interfaceRuleDeploymentOrBuilder- Returns:
- The enabled.
-
setEnabled
Whether the rule is currently deployed continuously against incoming data.
bool enabled = 2;- Parameters:
value- The enabled to set.- Returns:
- This builder for chaining.
-
clearEnabled
Whether the rule is currently deployed continuously against incoming data.
bool enabled = 2;- Returns:
- This builder for chaining.
-
getAlerting
public boolean getAlerting()Whether detections resulting from this deployment should be considered alerts.
bool alerting = 3;- Specified by:
getAlertingin interfaceRuleDeploymentOrBuilder- Returns:
- The alerting.
-
setAlerting
Whether detections resulting from this deployment should be considered alerts.
bool alerting = 3;- Parameters:
value- The alerting to set.- Returns:
- This builder for chaining.
-
clearAlerting
Whether detections resulting from this deployment should be considered alerts.
bool alerting = 3;- Returns:
- This builder for chaining.
-
getArchived
public boolean getArchived()The archive state of the rule deployment. Cannot be set to true unless enabled is set to false. If set to true, alerting will automatically be set to false. If currently set to true, enabled, alerting, and run_frequency cannot be updated.
bool archived = 4;- Specified by:
getArchivedin interfaceRuleDeploymentOrBuilder- Returns:
- The archived.
-
setArchived
The archive state of the rule deployment. Cannot be set to true unless enabled is set to false. If set to true, alerting will automatically be set to false. If currently set to true, enabled, alerting, and run_frequency cannot be updated.
bool archived = 4;- Parameters:
value- The archived to set.- Returns:
- This builder for chaining.
-
clearArchived
The archive state of the rule deployment. Cannot be set to true unless enabled is set to false. If set to true, alerting will automatically be set to false. If currently set to true, enabled, alerting, and run_frequency cannot be updated.
bool archived = 4;- Returns:
- This builder for chaining.
-
hasArchiveTime
public boolean hasArchiveTime()Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasArchiveTimein interfaceRuleDeploymentOrBuilder- Returns:
- Whether the archiveTime field is set.
-
getArchiveTime
public com.google.protobuf.Timestamp getArchiveTime()Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArchiveTimein interfaceRuleDeploymentOrBuilder- Returns:
- The archiveTime.
-
setArchiveTime
Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setArchiveTime
Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeArchiveTime
Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearArchiveTime
Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getArchiveTimeBuilder
public com.google.protobuf.Timestamp.Builder getArchiveTimeBuilder()Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getArchiveTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getArchiveTimeOrBuilder()Output only. The timestamp when the rule deployment archive state was last set to true. If the rule deployment's current archive state is not set to true, the field will be empty.
.google.protobuf.Timestamp archive_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArchiveTimeOrBuilderin interfaceRuleDeploymentOrBuilder
-
getRunFrequencyValue
public int getRunFrequencyValue()The run frequency of the rule deployment.
.google.cloud.chronicle.v1.RunFrequency run_frequency = 6;- Specified by:
getRunFrequencyValuein interfaceRuleDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for runFrequency.
-
setRunFrequencyValue
The run frequency of the rule deployment.
.google.cloud.chronicle.v1.RunFrequency run_frequency = 6;- Parameters:
value- The enum numeric value on the wire for runFrequency to set.- Returns:
- This builder for chaining.
-
getRunFrequency
The run frequency of the rule deployment.
.google.cloud.chronicle.v1.RunFrequency run_frequency = 6;- Specified by:
getRunFrequencyin interfaceRuleDeploymentOrBuilder- Returns:
- The runFrequency.
-
setRunFrequency
The run frequency of the rule deployment.
.google.cloud.chronicle.v1.RunFrequency run_frequency = 6;- Parameters:
value- The runFrequency to set.- Returns:
- This builder for chaining.
-
clearRunFrequency
The run frequency of the rule deployment.
.google.cloud.chronicle.v1.RunFrequency run_frequency = 6;- Returns:
- This builder for chaining.
-
getExecutionStateValue
public int getExecutionStateValue()Output only. The execution state of the rule deployment.
.google.cloud.chronicle.v1.RuleDeployment.ExecutionState execution_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStateValuein interfaceRuleDeploymentOrBuilder- Returns:
- The enum numeric value on the wire for executionState.
-
setExecutionStateValue
Output only. The execution state of the rule deployment.
.google.cloud.chronicle.v1.RuleDeployment.ExecutionState execution_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for executionState to set.- Returns:
- This builder for chaining.
-
getExecutionState
Output only. The execution state of the rule deployment.
.google.cloud.chronicle.v1.RuleDeployment.ExecutionState execution_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExecutionStatein interfaceRuleDeploymentOrBuilder- Returns:
- The executionState.
-
setExecutionState
Output only. The execution state of the rule deployment.
.google.cloud.chronicle.v1.RuleDeployment.ExecutionState execution_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The executionState to set.- Returns:
- This builder for chaining.
-
clearExecutionState
Output only. The execution state of the rule deployment.
.google.cloud.chronicle.v1.RuleDeployment.ExecutionState execution_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getProducerRulesList
public com.google.protobuf.ProtocolStringList getProducerRulesList()Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getProducerRulesListin interfaceRuleDeploymentOrBuilder- Returns:
- A list containing the producerRules.
-
getProducerRulesCount
public int getProducerRulesCount()Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getProducerRulesCountin interfaceRuleDeploymentOrBuilder- Returns:
- The count of producerRules.
-
getProducerRules
Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getProducerRulesin interfaceRuleDeploymentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The producerRules at the given index.
-
getProducerRulesBytes
public com.google.protobuf.ByteString getProducerRulesBytes(int index) Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getProducerRulesBytesin interfaceRuleDeploymentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the producerRules at the given index.
-
setProducerRules
Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The producerRules to set.- Returns:
- This builder for chaining.
-
addProducerRules
Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The producerRules to add.- Returns:
- This builder for chaining.
-
addAllProducerRules
Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The producerRules to add.- Returns:
- This builder for chaining.
-
clearProducerRules
Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addProducerRulesBytes
Output only. The names of the associated/chained producer rules. Rules are considered producers for this rule if this rule explicitly filters on their ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string producer_rules = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the producerRules to add.- Returns:
- This builder for chaining.
-
getConsumerRulesList
public com.google.protobuf.ProtocolStringList getConsumerRulesList()Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getConsumerRulesListin interfaceRuleDeploymentOrBuilder- Returns:
- A list containing the consumerRules.
-
getConsumerRulesCount
public int getConsumerRulesCount()Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getConsumerRulesCountin interfaceRuleDeploymentOrBuilder- Returns:
- The count of consumerRules.
-
getConsumerRules
Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getConsumerRulesin interfaceRuleDeploymentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The consumerRules at the given index.
-
getConsumerRulesBytes
public com.google.protobuf.ByteString getConsumerRulesBytes(int index) Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getConsumerRulesBytesin interfaceRuleDeploymentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the consumerRules at the given index.
-
setConsumerRules
Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The consumerRules to set.- Returns:
- This builder for chaining.
-
addConsumerRules
Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The consumerRules to add.- Returns:
- This builder for chaining.
-
addAllConsumerRules
Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The consumerRules to add.- Returns:
- This builder for chaining.
-
clearConsumerRules
Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addConsumerRulesBytes
Output only. The names of the associated/chained consumer rules. Rules are considered consumers of this rule if their rule text explicitly filters on this rule's ruleid. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`repeated string consumer_rules = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the consumerRules to add.- Returns:
- This builder for chaining.
-
hasLastAlertStatusChangeTime
public boolean hasLastAlertStatusChangeTime()Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastAlertStatusChangeTimein interfaceRuleDeploymentOrBuilder- Returns:
- Whether the lastAlertStatusChangeTime field is set.
-
getLastAlertStatusChangeTime
public com.google.protobuf.Timestamp getLastAlertStatusChangeTime()Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastAlertStatusChangeTimein interfaceRuleDeploymentOrBuilder- Returns:
- The lastAlertStatusChangeTime.
-
setLastAlertStatusChangeTime
Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setLastAlertStatusChangeTime
public RuleDeployment.Builder setLastAlertStatusChangeTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeLastAlertStatusChangeTime
Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearLastAlertStatusChangeTime
Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastAlertStatusChangeTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastAlertStatusChangeTimeBuilder()Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastAlertStatusChangeTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastAlertStatusChangeTimeOrBuilder()Output only. The timestamp when the rule deployment alert state was lastly changed. This is filled regardless of the current alert state. E.g. if the current alert status is false, this timestamp will be the timestamp when the alert status was changed to false.
.google.protobuf.Timestamp last_alert_status_change_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastAlertStatusChangeTimeOrBuilderin interfaceRuleDeploymentOrBuilder
-