public static final class AggregatedMetrics.ToolMetrics.Builder extends GeneratedMessage.Builder<AggregatedMetrics.ToolMetrics.Builder> implements AggregatedMetrics.ToolMetricsOrBuilderMetrics for a single tool.
Protobuf type google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AggregatedMetrics.ToolMetrics.BuilderImplements
AggregatedMetrics.ToolMetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AggregatedMetrics.ToolMetrics build()| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics |
|
buildPartial()
public AggregatedMetrics.ToolMetrics buildPartial()| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics |
|
clear()
public AggregatedMetrics.ToolMetrics.Builder clear()| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
|
clearFailCount()
public AggregatedMetrics.ToolMetrics.Builder clearFailCount()Output only. The number of times the tool failed.
int32 fail_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
This builder for chaining. |
clearPassCount()
public AggregatedMetrics.ToolMetrics.Builder clearPassCount()Output only. The number of times the tool passed.
int32 pass_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
This builder for chaining. |
clearTool()
public AggregatedMetrics.ToolMetrics.Builder clearTool()Output only. The name of the tool.
string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AggregatedMetrics.ToolMetrics getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFailCount()
public int getFailCount()Output only. The number of times the tool failed.
int32 fail_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The failCount. |
getPassCount()
public int getPassCount()Output only. The number of times the tool passed.
int32 pass_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The passCount. |
getTool()
public String getTool()Output only. The name of the tool.
string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The tool. |
getToolBytes()
public ByteString getToolBytes()Output only. The name of the tool.
string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tool. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AggregatedMetrics.ToolMetrics other)
public AggregatedMetrics.ToolMetrics.Builder mergeFrom(AggregatedMetrics.ToolMetrics other)| Parameter | |
|---|---|
| Name | Description |
other |
AggregatedMetrics.ToolMetrics |
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AggregatedMetrics.ToolMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AggregatedMetrics.ToolMetrics.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
|
setFailCount(int value)
public AggregatedMetrics.ToolMetrics.Builder setFailCount(int value)Output only. The number of times the tool failed.
int32 fail_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe failCount to set. |
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
This builder for chaining. |
setPassCount(int value)
public AggregatedMetrics.ToolMetrics.Builder setPassCount(int value)Output only. The number of times the tool passed.
int32 pass_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe passCount to set. |
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
This builder for chaining. |
setTool(String value)
public AggregatedMetrics.ToolMetrics.Builder setTool(String value)Output only. The name of the tool.
string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tool to set. |
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
This builder for chaining. |
setToolBytes(ByteString value)
public AggregatedMetrics.ToolMetrics.Builder setToolBytes(ByteString value)Output only. The name of the tool.
string tool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tool to set. |
| Returns | |
|---|---|
| Type | Description |
AggregatedMetrics.ToolMetrics.Builder |
This builder for chaining. |