Send feedback
Class ComplianceOccurrence.Builder (2.24.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.24.0 keyboard_arrow_down
public static final class ComplianceOccurrence . Builder extends GeneratedMessageV3 . Builder<ComplianceOccurrence . Builder > implements ComplianceOccurrenceOrBuilder
An indication that the compliance checks in the associated ComplianceNote
were not satisfied for particular resources or a specified reason.
Protobuf type grafeas.v1.ComplianceOccurrence
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 ()
Methods
addAllNonCompliantFiles(Iterable<? extends NonCompliantFile> values)
public ComplianceOccurrence . Builder addAllNonCompliantFiles ( Iterable <? extends NonCompliantFile > values )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter Name Description values
Iterable <? extends io.grafeas.v1.NonCompliantFile >
addNonCompliantFiles(int index, NonCompliantFile value)
public ComplianceOccurrence . Builder addNonCompliantFiles ( int index , NonCompliantFile value )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
addNonCompliantFiles(int index, NonCompliantFile.Builder builderForValue)
public ComplianceOccurrence . Builder addNonCompliantFiles ( int index , NonCompliantFile . Builder builderForValue )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
addNonCompliantFiles(NonCompliantFile value)
public ComplianceOccurrence . Builder addNonCompliantFiles ( NonCompliantFile value )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
addNonCompliantFiles(NonCompliantFile.Builder builderForValue)
public ComplianceOccurrence . Builder addNonCompliantFiles ( NonCompliantFile . Builder builderForValue )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
addNonCompliantFilesBuilder()
public NonCompliantFile . Builder addNonCompliantFilesBuilder ()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
addNonCompliantFilesBuilder(int index)
public NonCompliantFile . Builder addNonCompliantFilesBuilder ( int index )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter Name Description index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComplianceOccurrence . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ComplianceOccurrence build ()
buildPartial()
public ComplianceOccurrence buildPartial ()
clear()
public ComplianceOccurrence . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComplianceOccurrence . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNonComplianceReason()
public ComplianceOccurrence . Builder clearNonComplianceReason ()
string non_compliance_reason = 3;
clearNonCompliantFiles()
public ComplianceOccurrence . Builder clearNonCompliantFiles ()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ComplianceOccurrence . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ComplianceOccurrence . Builder clone ()
Overrides
getDefaultInstanceForType()
public ComplianceOccurrence getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNonComplianceReason()
public String getNonComplianceReason ()
string non_compliance_reason = 3;
Returns Type Description String
The nonComplianceReason.
getNonComplianceReasonBytes()
public ByteString getNonComplianceReasonBytes ()
string non_compliance_reason = 3;
Returns Type Description ByteString
The bytes for nonComplianceReason.
getNonCompliantFiles(int index)
public NonCompliantFile getNonCompliantFiles ( int index )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter Name Description index
int
getNonCompliantFilesBuilder(int index)
public NonCompliantFile . Builder getNonCompliantFilesBuilder ( int index )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter Name Description index
int
getNonCompliantFilesBuilderList()
public List<NonCompliantFile . Builder > getNonCompliantFilesBuilderList ()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
getNonCompliantFilesCount()
public int getNonCompliantFilesCount ()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Returns Type Description int
getNonCompliantFilesList()
public List<NonCompliantFile> getNonCompliantFilesList ()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
getNonCompliantFilesOrBuilder(int index)
public NonCompliantFileOrBuilder getNonCompliantFilesOrBuilder ( int index )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter Name Description index
int
getNonCompliantFilesOrBuilderList()
public List <? extends NonCompliantFileOrBuilder > getNonCompliantFilesOrBuilderList ()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Returns Type Description List <? extends io.grafeas.v1.NonCompliantFileOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public ComplianceOccurrence . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ComplianceOccurrence . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeFrom(ComplianceOccurrence other)
public ComplianceOccurrence . Builder mergeFrom ( ComplianceOccurrence other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceOccurrence . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeNonCompliantFiles(int index)
public ComplianceOccurrence . Builder removeNonCompliantFiles ( int index )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter Name Description index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ComplianceOccurrence . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNonComplianceReason(String value)
public ComplianceOccurrence . Builder setNonComplianceReason ( String value )
string non_compliance_reason = 3;
Parameter Name Description value
String
The nonComplianceReason to set.
setNonComplianceReasonBytes(ByteString value)
public ComplianceOccurrence . Builder setNonComplianceReasonBytes ( ByteString value )
string non_compliance_reason = 3;
Parameter Name Description value
ByteString
The bytes for nonComplianceReason to set.
setNonCompliantFiles(int index, NonCompliantFile value)
public ComplianceOccurrence . Builder setNonCompliantFiles ( int index , NonCompliantFile value )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
setNonCompliantFiles(int index, NonCompliantFile.Builder builderForValue)
public ComplianceOccurrence . Builder setNonCompliantFiles ( int index , NonCompliantFile . Builder builderForValue )
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComplianceOccurrence . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceOccurrence . 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-01-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-01-28 UTC."],[],[]]