Class ContinuousValidationEvent.Builder (1.7.0)

public static final class ContinuousValidationEvent.Builder extends GeneratedMessageV3.Builder<ContinuousValidationEvent.Builder> implements ContinuousValidationEventOrBuilder

Represents an auditing event from Continuous Validation.

Protobuf type google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContinuousValidationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

build()

public ContinuousValidationEvent build()
Returns
TypeDescription
ContinuousValidationEvent

buildPartial()

public ContinuousValidationEvent buildPartial()
Returns
TypeDescription
ContinuousValidationEvent

clear()

public ContinuousValidationEvent.Builder clear()
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

clearEventType()

public ContinuousValidationEvent.Builder clearEventType()
Returns
TypeDescription
ContinuousValidationEvent.Builder

clearField(Descriptors.FieldDescriptor field)

public ContinuousValidationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContinuousValidationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

clearPodEvent()

public ContinuousValidationEvent.Builder clearPodEvent()

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Returns
TypeDescription
ContinuousValidationEvent.Builder

clearUnsupportedPolicyEvent()

public ContinuousValidationEvent.Builder clearUnsupportedPolicyEvent()

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Returns
TypeDescription
ContinuousValidationEvent.Builder

clone()

public ContinuousValidationEvent.Builder clone()
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

getDefaultInstanceForType()

public ContinuousValidationEvent getDefaultInstanceForType()
Returns
TypeDescription
ContinuousValidationEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEventTypeCase()

public ContinuousValidationEvent.EventTypeCase getEventTypeCase()
Returns
TypeDescription
ContinuousValidationEvent.EventTypeCase

getPodEvent()

public ContinuousValidationEvent.ContinuousValidationPodEvent getPodEvent()

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Returns
TypeDescription
ContinuousValidationEvent.ContinuousValidationPodEvent

The podEvent.

getPodEventBuilder()

public ContinuousValidationEvent.ContinuousValidationPodEvent.Builder getPodEventBuilder()

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Returns
TypeDescription
ContinuousValidationEvent.ContinuousValidationPodEvent.Builder

getPodEventOrBuilder()

public ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder getPodEventOrBuilder()

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Returns
TypeDescription
ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder

getUnsupportedPolicyEvent()

public ContinuousValidationEvent.UnsupportedPolicyEvent getUnsupportedPolicyEvent()

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Returns
TypeDescription
ContinuousValidationEvent.UnsupportedPolicyEvent

The unsupportedPolicyEvent.

getUnsupportedPolicyEventBuilder()

public ContinuousValidationEvent.UnsupportedPolicyEvent.Builder getUnsupportedPolicyEventBuilder()

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Returns
TypeDescription
ContinuousValidationEvent.UnsupportedPolicyEvent.Builder

getUnsupportedPolicyEventOrBuilder()

public ContinuousValidationEvent.UnsupportedPolicyEventOrBuilder getUnsupportedPolicyEventOrBuilder()

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Returns
TypeDescription
ContinuousValidationEvent.UnsupportedPolicyEventOrBuilder

hasPodEvent()

public boolean hasPodEvent()

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Returns
TypeDescription
boolean

Whether the podEvent field is set.

hasUnsupportedPolicyEvent()

public boolean hasUnsupportedPolicyEvent()

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Returns
TypeDescription
boolean

Whether the unsupportedPolicyEvent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ContinuousValidationEvent other)

public ContinuousValidationEvent.Builder mergeFrom(ContinuousValidationEvent other)
Parameter
NameDescription
otherContinuousValidationEvent
Returns
TypeDescription
ContinuousValidationEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContinuousValidationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ContinuousValidationEvent.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

mergePodEvent(ContinuousValidationEvent.ContinuousValidationPodEvent value)

public ContinuousValidationEvent.Builder mergePodEvent(ContinuousValidationEvent.ContinuousValidationPodEvent value)

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Parameter
NameDescription
valueContinuousValidationEvent.ContinuousValidationPodEvent
Returns
TypeDescription
ContinuousValidationEvent.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContinuousValidationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

mergeUnsupportedPolicyEvent(ContinuousValidationEvent.UnsupportedPolicyEvent value)

public ContinuousValidationEvent.Builder mergeUnsupportedPolicyEvent(ContinuousValidationEvent.UnsupportedPolicyEvent value)

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Parameter
NameDescription
valueContinuousValidationEvent.UnsupportedPolicyEvent
Returns
TypeDescription
ContinuousValidationEvent.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ContinuousValidationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

setPodEvent(ContinuousValidationEvent.ContinuousValidationPodEvent value)

public ContinuousValidationEvent.Builder setPodEvent(ContinuousValidationEvent.ContinuousValidationPodEvent value)

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Parameter
NameDescription
valueContinuousValidationEvent.ContinuousValidationPodEvent
Returns
TypeDescription
ContinuousValidationEvent.Builder

setPodEvent(ContinuousValidationEvent.ContinuousValidationPodEvent.Builder builderForValue)

public ContinuousValidationEvent.Builder setPodEvent(ContinuousValidationEvent.ContinuousValidationPodEvent.Builder builderForValue)

Pod event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1;

Parameter
NameDescription
builderForValueContinuousValidationEvent.ContinuousValidationPodEvent.Builder
Returns
TypeDescription
ContinuousValidationEvent.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ContinuousValidationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContinuousValidationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContinuousValidationEvent.Builder
Overrides

setUnsupportedPolicyEvent(ContinuousValidationEvent.UnsupportedPolicyEvent value)

public ContinuousValidationEvent.Builder setUnsupportedPolicyEvent(ContinuousValidationEvent.UnsupportedPolicyEvent value)

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Parameter
NameDescription
valueContinuousValidationEvent.UnsupportedPolicyEvent
Returns
TypeDescription
ContinuousValidationEvent.Builder

setUnsupportedPolicyEvent(ContinuousValidationEvent.UnsupportedPolicyEvent.Builder builderForValue)

public ContinuousValidationEvent.Builder setUnsupportedPolicyEvent(ContinuousValidationEvent.UnsupportedPolicyEvent.Builder builderForValue)

Unsupported policy event.

.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.UnsupportedPolicyEvent unsupported_policy_event = 2;

Parameter
NameDescription
builderForValueContinuousValidationEvent.UnsupportedPolicyEvent.Builder
Returns
TypeDescription
ContinuousValidationEvent.Builder