Class Service.ValidateAttestationOccurrenceResponse.Builder (1.47.0)

public static final class Service.ValidateAttestationOccurrenceResponse.Builder extends GeneratedMessageV3.Builder<Service.ValidateAttestationOccurrenceResponse.Builder> implements Service.ValidateAttestationOccurrenceResponseOrBuilder

Response message for ValidationHelperV1.ValidateAttestationOccurrence.

Protobuf type google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.ValidateAttestationOccurrenceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

build()

public Service.ValidateAttestationOccurrenceResponse build()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse

buildPartial()

public Service.ValidateAttestationOccurrenceResponse buildPartial()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse

clear()

public Service.ValidateAttestationOccurrenceResponse.Builder clear()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

clearDenialReason()

public Service.ValidateAttestationOccurrenceResponse.Builder clearDenialReason()

The reason for denial if the Attestation couldn't be validated.

string denial_reason = 2;

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Service.ValidateAttestationOccurrenceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.ValidateAttestationOccurrenceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

clearResult()

public Service.ValidateAttestationOccurrenceResponse.Builder clearResult()

The result of the Attestation validation.

.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

clone()

public Service.ValidateAttestationOccurrenceResponse.Builder clone()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

getDefaultInstanceForType()

public Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType()
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse

getDenialReason()

public String getDenialReason()

The reason for denial if the Attestation couldn't be validated.

string denial_reason = 2;

Returns
Type Description
String

The denialReason.

getDenialReasonBytes()

public ByteString getDenialReasonBytes()

The reason for denial if the Attestation couldn't be validated.

string denial_reason = 2;

Returns
Type Description
ByteString

The bytes for denialReason.

getDescriptorForType()

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

getResult()

public Service.ValidateAttestationOccurrenceResponse.Result getResult()

The result of the Attestation validation.

.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Result

The result.

getResultValue()

public int getResultValue()

The result of the Attestation validation.

.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;

Returns
Type Description
int

The enum numeric value on the wire for result.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.ValidateAttestationOccurrenceResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.ValidateAttestationOccurrenceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

setDenialReason(String value)

public Service.ValidateAttestationOccurrenceResponse.Builder setDenialReason(String value)

The reason for denial if the Attestation couldn't be validated.

string denial_reason = 2;

Parameter
Name Description
value String

The denialReason to set.

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

setDenialReasonBytes(ByteString value)

public Service.ValidateAttestationOccurrenceResponse.Builder setDenialReasonBytes(ByteString value)

The reason for denial if the Attestation couldn't be validated.

string denial_reason = 2;

Parameter
Name Description
value ByteString

The bytes for denialReason to set.

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Service.ValidateAttestationOccurrenceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

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

public Service.ValidateAttestationOccurrenceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

setResult(Service.ValidateAttestationOccurrenceResponse.Result value)

public Service.ValidateAttestationOccurrenceResponse.Builder setResult(Service.ValidateAttestationOccurrenceResponse.Result value)

The result of the Attestation validation.

.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;

Parameter
Name Description
value Service.ValidateAttestationOccurrenceResponse.Result

The result to set.

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

setResultValue(int value)

public Service.ValidateAttestationOccurrenceResponse.Builder setResultValue(int value)

The result of the Attestation validation.

.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for result to set.

Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.ValidateAttestationOccurrenceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides