public static final class FindingSummary.SummaryDetails.Builder extends GeneratedMessage.Builder<FindingSummary.SummaryDetails.Builder> implements FindingSummary.SummaryDetailsOrBuilder Details about the FindingSummary resource.
Protobuf type google.storage.control.v2.FindingSummary.SummaryDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FindingSummary.SummaryDetails.BuilderImplements
FindingSummary.SummaryDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FindingSummary.SummaryDetails build()| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails |
|
buildPartial()
public FindingSummary.SummaryDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails |
|
clear()
public FindingSummary.SummaryDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
|
clearCount()
public FindingSummary.SummaryDetails.Builder clearCount()The count of impacted resources.
int64 count = 1;
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
clearDescription()
public FindingSummary.SummaryDetails.Builder clearDescription()Output only. A short description about the FindingSummary
string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
clearMagnitude()
public FindingSummary.SummaryDetails.Builder clearMagnitude()| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
|
clearPercentage()
public FindingSummary.SummaryDetails.Builder clearPercentage()The percentage of impacted resources.
float percentage = 2;
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
clearResourceType()
public FindingSummary.SummaryDetails.Builder clearResourceType()Output only. The type of Cloud resource this summary detail applies to.
.google.storage.control.v2.FindingSummary.SummaryDetails.ResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
getCount()
public long getCount()The count of impacted resources.
int64 count = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public FindingSummary.SummaryDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails |
|
getDescription()
public String getDescription()Output only. A short description about the FindingSummary
string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Output only. A short description about the FindingSummary
string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMagnitudeCase()
public FindingSummary.SummaryDetails.MagnitudeCase getMagnitudeCase()| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.MagnitudeCase |
|
getPercentage()
public float getPercentage()The percentage of impacted resources.
float percentage = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The percentage. |
getResourceType()
public FindingSummary.SummaryDetails.ResourceType getResourceType()Output only. The type of Cloud resource this summary detail applies to.
.google.storage.control.v2.FindingSummary.SummaryDetails.ResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.ResourceType |
The resourceType. |
getResourceTypeValue()
public int getResourceTypeValue()Output only. The type of Cloud resource this summary detail applies to.
.google.storage.control.v2.FindingSummary.SummaryDetails.ResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for resourceType. |
hasCount()
public boolean hasCount()The count of impacted resources.
int64 count = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the count field is set. |
hasPercentage()
public boolean hasPercentage()The percentage of impacted resources.
float percentage = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the percentage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FindingSummary.SummaryDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FindingSummary.SummaryDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
|
mergeFrom(FindingSummary.SummaryDetails other)
public FindingSummary.SummaryDetails.Builder mergeFrom(FindingSummary.SummaryDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
FindingSummary.SummaryDetails |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
|
setCount(long value)
public FindingSummary.SummaryDetails.Builder setCount(long value)The count of impacted resources.
int64 count = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
setDescription(String value)
public FindingSummary.SummaryDetails.Builder setDescription(String value)Output only. A short description about the FindingSummary
string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public FindingSummary.SummaryDetails.Builder setDescriptionBytes(ByteString value)Output only. A short description about the FindingSummary
string description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
setPercentage(float value)
public FindingSummary.SummaryDetails.Builder setPercentage(float value)The percentage of impacted resources.
float percentage = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe percentage to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
setResourceType(FindingSummary.SummaryDetails.ResourceType value)
public FindingSummary.SummaryDetails.Builder setResourceType(FindingSummary.SummaryDetails.ResourceType value)Output only. The type of Cloud resource this summary detail applies to.
.google.storage.control.v2.FindingSummary.SummaryDetails.ResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FindingSummary.SummaryDetails.ResourceTypeThe resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |
setResourceTypeValue(int value)
public FindingSummary.SummaryDetails.Builder setResourceTypeValue(int value)Output only. The type of Cloud resource this summary detail applies to.
.google.storage.control.v2.FindingSummary.SummaryDetails.ResourceType resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for resourceType to set. |
| Returns | |
|---|---|
| Type | Description |
FindingSummary.SummaryDetails.Builder |
This builder for chaining. |