public static final class FindingSummary.Builder extends GeneratedMessageV3.Builder<FindingSummary.Builder> implements FindingSummaryOrBuilderThe details for a finding.
Protobuf type google.cloud.cloudsecuritycompliance.v1.FindingSummary
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FindingSummary.BuilderImplements
FindingSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRelatedFrameworks(Iterable<String> values)
public FindingSummary.Builder addAllRelatedFrameworks(Iterable<String> values)Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The relatedFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
addRelatedFrameworks(String value)
public FindingSummary.Builder addRelatedFrameworks(String value)Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe relatedFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
addRelatedFrameworksBytes(ByteString value)
public FindingSummary.Builder addRelatedFrameworksBytes(ByteString value)Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the relatedFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FindingSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
build()
public FindingSummary build()| Returns | |
|---|---|
| Type | Description |
FindingSummary |
|
buildPartial()
public FindingSummary buildPartial()| Returns | |
|---|---|
| Type | Description |
FindingSummary |
|
clear()
public FindingSummary.Builder clear()| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public FindingSummary.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
clearFindingCategory()
public FindingSummary.Builder clearFindingCategory()The category of the finding.
string finding_category = 1;
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearFindingClass()
public FindingSummary.Builder clearFindingClass()The class of the finding.
.google.cloud.cloudsecuritycompliance.v1.FindingClass finding_class = 2;
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearFindingCount()
public FindingSummary.Builder clearFindingCount()The count of the finding.
int64 finding_count = 4;
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearName()
public FindingSummary.Builder clearName()Identifier. The name of the finding summary.
string name = 7 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FindingSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
clearRelatedFrameworks()
public FindingSummary.Builder clearRelatedFrameworks()Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearSeverity()
public FindingSummary.Builder clearSeverity()The severity of the finding.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 3;
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearUpdateTime()
public FindingSummary.Builder clearUpdateTime()Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
clone()
public FindingSummary.Builder clone()| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
getDefaultInstanceForType()
public FindingSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FindingSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFindingCategory()
public String getFindingCategory()The category of the finding.
string finding_category = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The findingCategory. |
getFindingCategoryBytes()
public ByteString getFindingCategoryBytes()The category of the finding.
string finding_category = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for findingCategory. |
getFindingClass()
public FindingClass getFindingClass()The class of the finding.
.google.cloud.cloudsecuritycompliance.v1.FindingClass finding_class = 2;
| Returns | |
|---|---|
| Type | Description |
FindingClass |
The findingClass. |
getFindingClassValue()
public int getFindingClassValue()The class of the finding.
.google.cloud.cloudsecuritycompliance.v1.FindingClass finding_class = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for findingClass. |
getFindingCount()
public long getFindingCount()The count of the finding.
int64 finding_count = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The findingCount. |
getName()
public String getName()Identifier. The name of the finding summary.
string name = 7 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Identifier. The name of the finding summary.
string name = 7 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRelatedFrameworks(int index)
public String getRelatedFrameworks(int index)Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The relatedFrameworks at the given index. |
getRelatedFrameworksBytes(int index)
public ByteString getRelatedFrameworksBytes(int index)Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the relatedFrameworks at the given index. |
getRelatedFrameworksCount()
public int getRelatedFrameworksCount()Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of relatedFrameworks. |
getRelatedFrameworksList()
public ProtocolStringList getRelatedFrameworksList()Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the relatedFrameworks. |
getSeverity()
public Severity getSeverity()The severity of the finding.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 3;
| Returns | |
|---|---|
| Type | Description |
Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()The severity of the finding.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for severity. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasUpdateTime()
public boolean hasUpdateTime()Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FindingSummary other)
public FindingSummary.Builder mergeFrom(FindingSummary other)| Parameter | |
|---|---|
| Name | Description |
other |
FindingSummary |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FindingSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FindingSummary.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FindingSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
mergeUpdateTime(Timestamp value)
public FindingSummary.Builder mergeUpdateTime(Timestamp value)Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public FindingSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setFindingCategory(String value)
public FindingSummary.Builder setFindingCategory(String value)The category of the finding.
string finding_category = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe findingCategory to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setFindingCategoryBytes(ByteString value)
public FindingSummary.Builder setFindingCategoryBytes(ByteString value)The category of the finding.
string finding_category = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for findingCategory to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setFindingClass(FindingClass value)
public FindingSummary.Builder setFindingClass(FindingClass value)The class of the finding.
.google.cloud.cloudsecuritycompliance.v1.FindingClass finding_class = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
FindingClassThe findingClass to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setFindingClassValue(int value)
public FindingSummary.Builder setFindingClassValue(int value)The class of the finding.
.google.cloud.cloudsecuritycompliance.v1.FindingClass finding_class = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for findingClass to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setFindingCount(long value)
public FindingSummary.Builder setFindingCount(long value)The count of the finding.
int64 finding_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe findingCount to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setName(String value)
public FindingSummary.Builder setName(String value)Identifier. The name of the finding summary.
string name = 7 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FindingSummary.Builder setNameBytes(ByteString value)Identifier. The name of the finding summary.
string name = 7 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setRelatedFrameworks(int index, String value)
public FindingSummary.Builder setRelatedFrameworks(int index, String value)Optional. The list of compliance frameworks that the finding belongs to.
repeated string related_frameworks = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe relatedFrameworks to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FindingSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setSeverity(Severity value)
public FindingSummary.Builder setSeverity(Severity value)The severity of the finding.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SeverityThe severity to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setSeverityValue(int value)
public FindingSummary.Builder setSeverityValue(int value)The severity of the finding.
.google.cloud.cloudsecuritycompliance.v1.Severity severity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FindingSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setUpdateTime(Timestamp value)
public FindingSummary.Builder setUpdateTime(Timestamp value)Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public FindingSummary.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The last updated time of the finding.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|