public static final class FindingSummary.Builder extends GeneratedMessage.Builder<FindingSummary.Builder> implements FindingSummaryOrBuilderA summary of findings generated for an organization, a folder, or a project.
Protobuf type google.storage.control.v2.FindingSummary
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FindingSummary.BuilderImplements
FindingSummaryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSummaryDetails(Iterable<? extends FindingSummary.SummaryDetails> values)
public FindingSummary.Builder addAllSummaryDetails(Iterable<? extends FindingSummary.SummaryDetails> values) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.storage.control.v2.FindingSummary.SummaryDetails> |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
addSummaryDetails(FindingSummary.SummaryDetails value)
public FindingSummary.Builder addSummaryDetails(FindingSummary.SummaryDetails value) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FindingSummary.SummaryDetails |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
addSummaryDetails(FindingSummary.SummaryDetails.Builder builderForValue)
public FindingSummary.Builder addSummaryDetails(FindingSummary.SummaryDetails.Builder builderForValue) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FindingSummary.SummaryDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
addSummaryDetails(int index, FindingSummary.SummaryDetails value)
public FindingSummary.Builder addSummaryDetails(int index, FindingSummary.SummaryDetails value) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FindingSummary.SummaryDetails |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
addSummaryDetails(int index, FindingSummary.SummaryDetails.Builder builderForValue)
public FindingSummary.Builder addSummaryDetails(int index, FindingSummary.SummaryDetails.Builder builderForValue) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FindingSummary.SummaryDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
addSummaryDetailsBuilder()
public FindingSummary.SummaryDetails.Builder addSummaryDetailsBuilder() Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
|
addSummaryDetailsBuilder(int index)
public FindingSummary.SummaryDetails.Builder addSummaryDetailsBuilder(int index) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.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 |
|
clearCategory()
public FindingSummary.Builder clearCategory()Output only. The category of finding.
.google.storage.control.v2.FindingCategory category = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearCreateTime()
public FindingSummary.Builder clearCreateTime()Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
clearSeverity()
public FindingSummary.Builder clearSeverity()Severity of the finding.
.google.storage.control.v2.FindingSeverity severity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearSummaryDetails()
public FindingSummary.Builder clearSummaryDetails() Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
clearTargetResource()
public FindingSummary.Builder clearTargetResource() Output only. The fully qualified Cloud resource name for which this
summary was generated.
eg: //cloudresourcemanager.googleapis.com/projects/p1
string target_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearType()
public FindingSummary.Builder clearType()Output only. The type of the finding.
.google.storage.control.v2.FindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
clearUpdateTime()
public FindingSummary.Builder clearUpdateTime()Output only. The time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
getCategory()
public FindingCategory getCategory()Output only. The category of finding.
.google.storage.control.v2.FindingCategory category = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingCategory |
The category. |
getCategoryValue()
public int getCategoryValue()Output only. The category of finding.
.google.storage.control.v2.FindingCategory category = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for category. |
getCreateTime()
public Timestamp getCreateTime()Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public FindingSummary getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FindingSummary |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSeverity()
public FindingSeverity getSeverity()Severity of the finding.
.google.storage.control.v2.FindingSeverity severity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSeverity |
The severity. |
getSeverityValue()
public int getSeverityValue()Severity of the finding.
.google.storage.control.v2.FindingSeverity severity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for severity. |
getSummaryDetails(int index)
public FindingSummary.SummaryDetails getSummaryDetails(int index) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails |
|
getSummaryDetailsBuilder(int index)
public FindingSummary.SummaryDetails.Builder getSummaryDetailsBuilder(int index) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
|
getSummaryDetailsBuilderList()
public List<FindingSummary.SummaryDetails.Builder> getSummaryDetailsBuilderList() Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSummaryDetailsCount()
public int getSummaryDetailsCount() Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSummaryDetailsList()
public List<FindingSummary.SummaryDetails> getSummaryDetailsList() Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<SummaryDetails> |
|
getSummaryDetailsOrBuilder(int index)
public FindingSummary.SummaryDetailsOrBuilder getSummaryDetailsOrBuilder(int index) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetailsOrBuilder |
|
getSummaryDetailsOrBuilderList()
public List<? extends FindingSummary.SummaryDetailsOrBuilder> getSummaryDetailsOrBuilderList() Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.storage.control.v2.FindingSummary.SummaryDetailsOrBuilder> |
|
getTargetResource()
public String getTargetResource() Output only. The fully qualified Cloud resource name for which this
summary was generated.
eg: //cloudresourcemanager.googleapis.com/projects/p1
string target_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The targetResource. |
getTargetResourceBytes()
public ByteString getTargetResourceBytes() Output only. The fully qualified Cloud resource name for which this
summary was generated.
eg: //cloudresourcemanager.googleapis.com/projects/p1
string target_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetResource. |
getType()
public FindingType getType()Output only. The type of the finding.
.google.storage.control.v2.FindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingType |
The type. |
getTypeValue()
public int getTypeValue()Output only. The type of the finding.
.google.storage.control.v2.FindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public FindingSummary.Builder mergeCreateTime(Timestamp value)Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| 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 |
|
mergeFrom(FindingSummary other)
public FindingSummary.Builder mergeFrom(FindingSummary other)| Parameter | |
|---|---|
| Name | Description |
other |
FindingSummary |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
mergeUpdateTime(Timestamp value)
public FindingSummary.Builder mergeUpdateTime(Timestamp value)Output only. The time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
removeSummaryDetails(int index)
public FindingSummary.Builder removeSummaryDetails(int index) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setCategory(FindingCategory value)
public FindingSummary.Builder setCategory(FindingCategory value)Output only. The category of finding.
.google.storage.control.v2.FindingCategory category = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FindingCategoryThe category to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setCategoryValue(int value)
public FindingSummary.Builder setCategoryValue(int value)Output only. The category of finding.
.google.storage.control.v2.FindingCategory category = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for category to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public FindingSummary.Builder setCreateTime(Timestamp value)Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public FindingSummary.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The creation time of the earliest finding that this summary is based on.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setSeverity(FindingSeverity value)
public FindingSummary.Builder setSeverity(FindingSeverity value)Severity of the finding.
.google.storage.control.v2.FindingSeverity severity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FindingSeverityThe severity to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setSeverityValue(int value)
public FindingSummary.Builder setSeverityValue(int value)Severity of the finding.
.google.storage.control.v2.FindingSeverity severity = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setSummaryDetails(int index, FindingSummary.SummaryDetails value)
public FindingSummary.Builder setSummaryDetails(int index, FindingSummary.SummaryDetails value) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FindingSummary.SummaryDetails |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setSummaryDetails(int index, FindingSummary.SummaryDetails.Builder builderForValue)
public FindingSummary.Builder setSummaryDetails(int index, FindingSummary.SummaryDetails.Builder builderForValue) Output only. List of SummaryDetails.
repeated .google.storage.control.v2.FindingSummary.SummaryDetails summary_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FindingSummary.SummaryDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|
setTargetResource(String value)
public FindingSummary.Builder setTargetResource(String value) Output only. The fully qualified Cloud resource name for which this
summary was generated.
eg: //cloudresourcemanager.googleapis.com/projects/p1
string target_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetResource to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setTargetResourceBytes(ByteString value)
public FindingSummary.Builder setTargetResourceBytes(ByteString value) Output only. The fully qualified Cloud resource name for which this
summary was generated.
eg: //cloudresourcemanager.googleapis.com/projects/p1
string target_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetResource to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setType(FindingType value)
public FindingSummary.Builder setType(FindingType value)Output only. The type of the finding.
.google.storage.control.v2.FindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FindingTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setTypeValue(int value)
public FindingSummary.Builder setTypeValue(int value)Output only. The type of the finding.
.google.storage.control.v2.FindingType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public FindingSummary.Builder setUpdateTime(Timestamp value)Output only. The time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.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 time of the most recent update among all the findings that this summary is based on.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.Builder |
|