public static final class NonCompliantFile.Builder extends GeneratedMessage.Builder<NonCompliantFile.Builder> implements NonCompliantFileOrBuilderDetails about files that caused a compliance check to fail.
Protobuf type grafeas.v1.NonCompliantFile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NonCompliantFile.BuilderImplements
NonCompliantFileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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. |
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. |
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 GeneratedMessage.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 |
|
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. |
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. |