Class FindingsRefinementDeployment.Builder (0.33.0)

public static final class FindingsRefinementDeployment.Builder extends GeneratedMessage.Builder<FindingsRefinementDeployment.Builder> implements FindingsRefinementDeploymentOrBuilder

The FindingsRefinementDeployment resource represents the deployment state of a findings refinement.

Protobuf type google.cloud.chronicle.v1.FindingsRefinementDeployment

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FindingsRefinementDeployment build()
Returns
Type Description
FindingsRefinementDeployment

buildPartial()

public FindingsRefinementDeployment buildPartial()
Returns
Type Description
FindingsRefinementDeployment

clear()

public FindingsRefinementDeployment.Builder clear()
Returns
Type Description
FindingsRefinementDeployment.Builder
Overrides

clearArchived()

public FindingsRefinementDeployment.Builder clearArchived()

The archive state of the findings refinement deployment. Cannot be set to true unless enabled is set to false. If currently set to true, enabled cannot be updated to true.

bool archived = 3;

Returns
Type Description
FindingsRefinementDeployment.Builder

This builder for chaining.

clearDetectionExclusionApplication()

public FindingsRefinementDeployment.Builder clearDetectionExclusionApplication()

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Returns
Type Description
FindingsRefinementDeployment.Builder

clearEnabled()

public FindingsRefinementDeployment.Builder clearEnabled()

Whether the findings refinement is currently deployed continuously against incoming findings.

bool enabled = 2;

Returns
Type Description
FindingsRefinementDeployment.Builder

This builder for chaining.

clearFindingsRefinementApplication()

public FindingsRefinementDeployment.Builder clearFindingsRefinementApplication()
Returns
Type Description
FindingsRefinementDeployment.Builder

clearName()

public FindingsRefinementDeployment.Builder clearName()

Required. The resource name of the findings refinement deployment. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FindingsRefinementDeployment.Builder

This builder for chaining.

clearUpdateTime()

public FindingsRefinementDeployment.Builder clearUpdateTime()

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FindingsRefinementDeployment.Builder

getArchived()

public boolean getArchived()

The archive state of the findings refinement deployment. Cannot be set to true unless enabled is set to false. If currently set to true, enabled cannot be updated to true.

bool archived = 3;

Returns
Type Description
boolean

The archived.

getDefaultInstanceForType()

public FindingsRefinementDeployment getDefaultInstanceForType()
Returns
Type Description
FindingsRefinementDeployment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetectionExclusionApplication()

public DetectionExclusionApplication getDetectionExclusionApplication()

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Returns
Type Description
DetectionExclusionApplication

The detectionExclusionApplication.

getDetectionExclusionApplicationBuilder()

public DetectionExclusionApplication.Builder getDetectionExclusionApplicationBuilder()

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Returns
Type Description
DetectionExclusionApplication.Builder

getDetectionExclusionApplicationOrBuilder()

public DetectionExclusionApplicationOrBuilder getDetectionExclusionApplicationOrBuilder()

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Returns
Type Description
DetectionExclusionApplicationOrBuilder

getEnabled()

public boolean getEnabled()

Whether the findings refinement is currently deployed continuously against incoming findings.

bool enabled = 2;

Returns
Type Description
boolean

The enabled.

getFindingsRefinementApplicationCase()

public FindingsRefinementDeployment.FindingsRefinementApplicationCase getFindingsRefinementApplicationCase()
Returns
Type Description
FindingsRefinementDeployment.FindingsRefinementApplicationCase

getName()

public String getName()

Required. The resource name of the findings refinement deployment. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the findings refinement deployment. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasDetectionExclusionApplication()

public boolean hasDetectionExclusionApplication()

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Returns
Type Description
boolean

Whether the detectionExclusionApplication field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDetectionExclusionApplication(DetectionExclusionApplication value)

public FindingsRefinementDeployment.Builder mergeDetectionExclusionApplication(DetectionExclusionApplication value)

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Parameter
Name Description
value DetectionExclusionApplication
Returns
Type Description
FindingsRefinementDeployment.Builder

mergeFrom(FindingsRefinementDeployment other)

public FindingsRefinementDeployment.Builder mergeFrom(FindingsRefinementDeployment other)
Parameter
Name Description
other FindingsRefinementDeployment
Returns
Type Description
FindingsRefinementDeployment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FindingsRefinementDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FindingsRefinementDeployment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FindingsRefinementDeployment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FindingsRefinementDeployment.Builder
Overrides

mergeUpdateTime(Timestamp value)

public FindingsRefinementDeployment.Builder mergeUpdateTime(Timestamp value)

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FindingsRefinementDeployment.Builder

setArchived(boolean value)

public FindingsRefinementDeployment.Builder setArchived(boolean value)

The archive state of the findings refinement deployment. Cannot be set to true unless enabled is set to false. If currently set to true, enabled cannot be updated to true.

bool archived = 3;

Parameter
Name Description
value boolean

The archived to set.

Returns
Type Description
FindingsRefinementDeployment.Builder

This builder for chaining.

setDetectionExclusionApplication(DetectionExclusionApplication value)

public FindingsRefinementDeployment.Builder setDetectionExclusionApplication(DetectionExclusionApplication value)

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Parameter
Name Description
value DetectionExclusionApplication
Returns
Type Description
FindingsRefinementDeployment.Builder

setDetectionExclusionApplication(DetectionExclusionApplication.Builder builderForValue)

public FindingsRefinementDeployment.Builder setDetectionExclusionApplication(DetectionExclusionApplication.Builder builderForValue)

The resources which the detection exclusion is applied to.

.google.cloud.chronicle.v1.DetectionExclusionApplication detection_exclusion_application = 5;

Parameter
Name Description
builderForValue DetectionExclusionApplication.Builder
Returns
Type Description
FindingsRefinementDeployment.Builder

setEnabled(boolean value)

public FindingsRefinementDeployment.Builder setEnabled(boolean value)

Whether the findings refinement is currently deployed continuously against incoming findings.

bool enabled = 2;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
FindingsRefinementDeployment.Builder

This builder for chaining.

setName(String value)

public FindingsRefinementDeployment.Builder setName(String value)

Required. The resource name of the findings refinement deployment. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FindingsRefinementDeployment.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FindingsRefinementDeployment.Builder setNameBytes(ByteString value)

Required. The resource name of the findings refinement deployment. Format: projects/{project}/locations/{location}/instances/{instance}/findingsRefinements/{findings_refinement}/deployment

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FindingsRefinementDeployment.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public FindingsRefinementDeployment.Builder setUpdateTime(Timestamp value)

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
FindingsRefinementDeployment.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public FindingsRefinementDeployment.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The timestamp when the findings refinement deployment was last updated.

.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FindingsRefinementDeployment.Builder