public static final class NonCompliantFile.Builder extends GeneratedMessageV3.Builder<NonCompliantFile.Builder> implements NonCompliantFileOrBuilderDetails about files that caused a compliance check to fail.
Protobuf type grafeas.v1.NonCompliantFile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NonCompliantFile.BuilderImplements
NonCompliantFileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NonCompliantFile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
build()
public NonCompliantFile build()| Returns | |
|---|---|
| Type | Description |
NonCompliantFile |
|
buildPartial()
public NonCompliantFile buildPartial()| Returns | |
|---|---|
| Type | Description |
NonCompliantFile |
|
clear()
public NonCompliantFile.Builder clear()| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
clearDisplayCommand()
public NonCompliantFile.Builder clearDisplayCommand()Command to display the non-compliant files.
string display_command = 2;
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NonCompliantFile.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public NonCompliantFile.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
clearPath()
public NonCompliantFile.Builder clearPath() Empty if display_command is set.
string path = 1;
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
clearReason()
public NonCompliantFile.Builder clearReason()Explains why a file is non compliant for a CIS check.
string reason = 3;
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
clone()
public NonCompliantFile.Builder clone()| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
getDefaultInstanceForType()
public NonCompliantFile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NonCompliantFile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayCommand()
public String getDisplayCommand()Command to display the non-compliant files.
string display_command = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayCommand. |
getDisplayCommandBytes()
public ByteString getDisplayCommandBytes()Command to display the non-compliant files.
string display_command = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayCommand. |
getPath()
public String getPath() Empty if display_command is set.
string path = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes() Empty if display_command is set.
string path = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
getReason()
public String getReason()Explains why a file is non compliant for a CIS check.
string reason = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The reason. |
getReasonBytes()
public ByteString getReasonBytes()Explains why a file is non compliant for a CIS check.
string reason = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reason. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NonCompliantFile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NonCompliantFile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
mergeFrom(NonCompliantFile other)
public NonCompliantFile.Builder mergeFrom(NonCompliantFile other)| Parameter | |
|---|---|
| Name | Description |
other |
NonCompliantFile |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NonCompliantFile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
setDisplayCommand(String value)
public NonCompliantFile.Builder setDisplayCommand(String value)Command to display the non-compliant files.
string display_command = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayCommand to set. |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
setDisplayCommandBytes(ByteString value)
public NonCompliantFile.Builder setDisplayCommandBytes(ByteString value)Command to display the non-compliant files.
string display_command = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayCommand to set. |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NonCompliantFile.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
setPath(String value)
public NonCompliantFile.Builder setPath(String value) Empty if display_command is set.
string path = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public NonCompliantFile.Builder setPathBytes(ByteString value) Empty if display_command is set.
string path = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
setReason(String value)
public NonCompliantFile.Builder setReason(String value)Explains why a file is non compliant for a CIS check.
string reason = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reason to set. |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
setReasonBytes(ByteString value)
public NonCompliantFile.Builder setReasonBytes(ByteString value)Explains why a file is non compliant for a CIS check.
string reason = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reason to set. |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NonCompliantFile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final NonCompliantFile.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
NonCompliantFile.Builder |
|