- 2.48.0 (latest)
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class NonCompliantFile.Builder extends GeneratedMessageV3.Builder<NonCompliantFile.Builder> implements NonCompliantFileOrBuilder
Details 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 | String The 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 | ByteString The 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 |