Send feedback
  
   
 
  
    
      Class Service.ValidateAttestationOccurrenceResponse.Builder (1.54.0)
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
   
  
    
  
  
    
    
    
    
  Version 1.54.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      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 ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   Service . ValidateAttestationOccurrenceResponse   build ()  
  
  buildPartial() 
  
    
public   Service . ValidateAttestationOccurrenceResponse   buildPartial ()  
  
  clear() 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   clear ()  
  
  Overrides 
  
  clearDenialReason() 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   clearDenialReason ()  
   The reason for denial if the Attestation couldn't be validated.
 string denial_reason = 2;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearResult() 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   clearResult ()  
   The result of the Attestation validation.
 
 .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;
 
clone() 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   Service . ValidateAttestationOccurrenceResponse   getDefaultInstanceForType ()  
  
  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 ()  
  
  Overrides 
  
  getResult() 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Result   getResult ()  
   The result of the Attestation validation.
 
 .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1;
 
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 ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeFrom(Service.ValidateAttestationOccurrenceResponse other) 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   mergeFrom ( Service . ValidateAttestationOccurrenceResponse   other )  
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Service . ValidateAttestationOccurrenceResponse . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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  
      
        valueString The denialReason to set.
 
     
  
  
  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  
      
        valueByteString The bytes for denialReason to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   Service . ValidateAttestationOccurrenceResponse . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  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;
 
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  
      
        valueint The enum numeric value on the wire for result to set.
 
     
  
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Service . ValidateAttestationOccurrenceResponse . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-28 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-28 UTC."],[],[]]