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()
Returns
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>
|
Returns
addNonCompliantFiles(int index, NonCompliantFile value)
public ComplianceOccurrence.Builder addNonCompliantFiles(int index, NonCompliantFile value)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameters
Returns
addNonCompliantFiles(int index, NonCompliantFile.Builder builderForValue)
public ComplianceOccurrence.Builder addNonCompliantFiles(int index, NonCompliantFile.Builder builderForValue)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameters
Returns
addNonCompliantFiles(NonCompliantFile value)
public ComplianceOccurrence.Builder addNonCompliantFiles(NonCompliantFile value)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter
Returns
addNonCompliantFiles(NonCompliantFile.Builder builderForValue)
public ComplianceOccurrence.Builder addNonCompliantFiles(NonCompliantFile.Builder builderForValue)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter
Returns
addNonCompliantFilesBuilder()
public NonCompliantFile.Builder addNonCompliantFilesBuilder()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Returns
addNonCompliantFilesBuilder(int index)
public NonCompliantFile.Builder addNonCompliantFilesBuilder(int index)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComplianceOccurrence.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ComplianceOccurrence build()
Returns
buildPartial()
public ComplianceOccurrence buildPartial()
Returns
clear()
public ComplianceOccurrence.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComplianceOccurrence.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNonComplianceReason()
public ComplianceOccurrence.Builder clearNonComplianceReason()
string non_compliance_reason = 3;
Returns
clearNonCompliantFiles()
public ComplianceOccurrence.Builder clearNonCompliantFiles()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ComplianceOccurrence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ComplianceOccurrence.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ComplianceOccurrence getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getNonCompliantFilesBuilder(int index)
public NonCompliantFile.Builder getNonCompliantFilesBuilder(int index)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter
Returns
getNonCompliantFilesBuilderList()
public List<NonCompliantFile.Builder> getNonCompliantFilesBuilderList()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Returns
getNonCompliantFilesCount()
public int getNonCompliantFilesCount()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Returns
getNonCompliantFilesList()
public List<NonCompliantFile> getNonCompliantFilesList()
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Returns
getNonCompliantFilesOrBuilder(int index)
public NonCompliantFileOrBuilder getNonCompliantFilesOrBuilder(int index)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ComplianceOccurrence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ComplianceOccurrence.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ComplianceOccurrence other)
public ComplianceOccurrence.Builder mergeFrom(ComplianceOccurrence other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceOccurrence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeNonCompliantFiles(int index)
public ComplianceOccurrence.Builder removeNonCompliantFiles(int index)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ComplianceOccurrence.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNonComplianceReason(String value)
public ComplianceOccurrence.Builder setNonComplianceReason(String value)
string non_compliance_reason = 3;
Parameter
Name | Description |
value | String
The nonComplianceReason to set.
|
Returns
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.
|
Returns
setNonCompliantFiles(int index, NonCompliantFile value)
public ComplianceOccurrence.Builder setNonCompliantFiles(int index, NonCompliantFile value)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameters
Returns
setNonCompliantFiles(int index, NonCompliantFile.Builder builderForValue)
public ComplianceOccurrence.Builder setNonCompliantFiles(int index, NonCompliantFile.Builder builderForValue)
repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComplianceOccurrence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceOccurrence.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides