Class Service.ValidateAttestationOccurrenceResponse.Builder (1.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Service.ValidateAttestationOccurrenceResponse build()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse

buildPartial()

public Service.ValidateAttestationOccurrenceResponse buildPartial()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse

clear()

public Service.ValidateAttestationOccurrenceResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.ValidateAttestationOccurrenceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

clone()

public Service.ValidateAttestationOccurrenceResponse.Builder clone()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder
Overrides

getDefaultInstanceForType()

public Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType()
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse

getDenialReason()

public String getDenialReason()

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

string denial_reason = 2;

Returns
TypeDescription
String

The denialReason.

getDenialReasonBytes()

public ByteString getDenialReasonBytes()

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

string denial_reason = 2;

Returns
TypeDescription
ByteString

The bytes for denialReason.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public Service.ValidateAttestationOccurrenceResponse.Result getResult()

The result of the Attestation validation.

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

Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Result

The result.

getResultValue()

public int getResultValue()

The result of the Attestation validation.

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

Returns
TypeDescription
int

The enum numeric value on the wire for result.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Service.ValidateAttestationOccurrenceResponse other)

public Service.ValidateAttestationOccurrenceResponse.Builder mergeFrom(Service.ValidateAttestationOccurrenceResponse other)
Parameter
NameDescription
otherService.ValidateAttestationOccurrenceResponse
Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.ValidateAttestationOccurrenceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The denialReason to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for denialReason to set.

Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Service.ValidateAttestationOccurrenceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueService.ValidateAttestationOccurrenceResponse.Result

The result to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Service.ValidateAttestationOccurrenceResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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