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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Service.ValidateAttestationOccurrenceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Service.ValidateAttestationOccurrenceResponse build()
Returns
buildPartial()
public Service.ValidateAttestationOccurrenceResponse buildPartial()
Returns
clear()
public Service.ValidateAttestationOccurrenceResponse.Builder clear()
Returns
Overrides
clearDenialReason()
public Service.ValidateAttestationOccurrenceResponse.Builder clearDenialReason()
The reason for denial if the Attestation couldn't be validated.
string denial_reason = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public Service.ValidateAttestationOccurrenceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Service.ValidateAttestationOccurrenceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResult()
public Service.ValidateAttestationOccurrenceResponse.Builder clearResult()
The result of the Attestation validation.
.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;
Returns
clone()
public Service.ValidateAttestationOccurrenceResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType()
Returns
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
Overrides
getResult()
public Service.ValidateAttestationOccurrenceResponse.Result getResult()
The result of the Attestation validation.
.google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Service.ValidateAttestationOccurrenceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Service.ValidateAttestationOccurrenceResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Service.ValidateAttestationOccurrenceResponse other)
public Service.ValidateAttestationOccurrenceResponse.Builder mergeFrom(Service.ValidateAttestationOccurrenceResponse other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Service.ValidateAttestationOccurrenceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public Service.ValidateAttestationOccurrenceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Service.ValidateAttestationOccurrenceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final Service.ValidateAttestationOccurrenceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides