public final class ScoreCard extends GeneratedMessage implements ScoreCardOrBuilderScore card associated with the report.
Protobuf type google.cloud.designcenter.v1.ScoreCard
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ScoreCardImplements
ScoreCardOrBuilderStatic Fields
AVERAGE_SCORE_FIELD_NUMBER
public static final int AVERAGE_SCORE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MAX_SCORE_FIELD_NUMBER
public static final int MAX_SCORE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MIN_SCORE_REQUIRED_FIELD_NUMBER
public static final int MIN_SCORE_REQUIRED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REPORT_SCORE_FIELD_NUMBER
public static final int REPORT_SCORE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ScoreCard getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ScoreCard.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ScoreCard.Builder |
|
newBuilder(ScoreCard prototype)
public static ScoreCard.Builder newBuilder(ScoreCard prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ScoreCard |
| Returns | |
|---|---|
| Type | Description |
ScoreCard.Builder |
|
parseDelimitedFrom(InputStream input)
public static ScoreCard parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScoreCard parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ScoreCard parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScoreCard parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ScoreCard parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScoreCard parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ScoreCard parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScoreCard parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ScoreCard parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScoreCard parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ScoreCard parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScoreCard parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ScoreCard> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ScoreCard> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAverageScore()
public int getAverageScore()Optional. Average score for similar reports.
int32 average_score = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The averageScore. |
getDefaultInstanceForType()
public ScoreCard getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ScoreCard |
|
getMaxScore()
public int getMaxScore()Required. Maximum score of the report. For example, for a score of 75/100, report_score is 75 and max_score is 100.
int32 max_score = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The maxScore. |
getMinScoreRequired()
public int getMinScoreRequired()Optional. Minimum score required to pass assessment.
int32 min_score_required = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The minScoreRequired. |
getParserForType()
public Parser<ScoreCard> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ScoreCard> |
|
getReportScore()
public int getReportScore()Required. Calculated score of the report.
int32 report_score = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The reportScore. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ScoreCard.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ScoreCard.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ScoreCard.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ScoreCard.Builder |
|
toBuilder()
public ScoreCard.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ScoreCard.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|