Class AggregatedMetrics.ToolMetrics (0.3.0)

public static final class AggregatedMetrics.ToolMetrics extends GeneratedMessage implements AggregatedMetrics.ToolMetricsOrBuilder

Metrics for a single tool.

Protobuf type google.cloud.ces.v1beta.AggregatedMetrics.ToolMetrics

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AggregatedMetrics.ToolMetrics

Static Fields

FAIL_COUNT_FIELD_NUMBER

public static final int FAIL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

PASS_COUNT_FIELD_NUMBER

public static final int PASS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TOOL_FIELD_NUMBER

public static final int TOOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AggregatedMetrics.ToolMetrics getDefaultInstance()
Returns
Type Description
AggregatedMetrics.ToolMetrics

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AggregatedMetrics.ToolMetrics.Builder newBuilder()
Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder

newBuilder(AggregatedMetrics.ToolMetrics prototype)

public static AggregatedMetrics.ToolMetrics.Builder newBuilder(AggregatedMetrics.ToolMetrics prototype)
Parameter
Name Description
prototype AggregatedMetrics.ToolMetrics
Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder

parseDelimitedFrom(InputStream input)

public static AggregatedMetrics.ToolMetrics parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.ToolMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AggregatedMetrics.ToolMetrics parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.ToolMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AggregatedMetrics.ToolMetrics parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.ToolMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AggregatedMetrics.ToolMetrics parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.ToolMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AggregatedMetrics.ToolMetrics parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.ToolMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AggregatedMetrics.ToolMetrics parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AggregatedMetrics.ToolMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregatedMetrics.ToolMetrics
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AggregatedMetrics.ToolMetrics> parser()
Returns
Type Description
Parser<ToolMetrics>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AggregatedMetrics.ToolMetrics getDefaultInstanceForType()
Returns
Type Description
AggregatedMetrics.ToolMetrics

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.

getParserForType()

public Parser<AggregatedMetrics.ToolMetrics> getParserForType()
Returns
Type Description
Parser<ToolMetrics>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AggregatedMetrics.ToolMetrics.Builder newBuilderForType()
Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AggregatedMetrics.ToolMetrics.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder
Overrides

toBuilder()

public AggregatedMetrics.ToolMetrics.Builder toBuilder()
Returns
Type Description
AggregatedMetrics.ToolMetrics.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException