Class RougeResults (3.41.0)

public final class RougeResults extends GeneratedMessageV3 implements RougeResultsOrBuilder

Results for rouge metric.

Protobuf type google.cloud.aiplatform.v1beta1.RougeResults

Static Fields

ROUGE_METRIC_VALUES_FIELD_NUMBER

public static final int ROUGE_METRIC_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RougeResults getDefaultInstance()
Returns
TypeDescription
RougeResults

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RougeResults.Builder newBuilder()
Returns
TypeDescription
RougeResults.Builder

newBuilder(RougeResults prototype)

public static RougeResults.Builder newBuilder(RougeResults prototype)
Parameter
NameDescription
prototypeRougeResults
Returns
TypeDescription
RougeResults.Builder

parseDelimitedFrom(InputStream input)

public static RougeResults parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RougeResults parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RougeResults parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RougeResults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RougeResults parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RougeResults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RougeResults parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RougeResults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RougeResults parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RougeResults parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RougeResults parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RougeResults parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RougeResults
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RougeResults> parser()
Returns
TypeDescription
Parser<RougeResults>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RougeResults getDefaultInstanceForType()
Returns
TypeDescription
RougeResults

getParserForType()

public Parser<RougeResults> getParserForType()
Returns
TypeDescription
Parser<RougeResults>
Overrides

getRougeMetricValues(int index)

public RougeMetricValue getRougeMetricValues(int index)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
RougeMetricValue

getRougeMetricValuesCount()

public int getRougeMetricValuesCount()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getRougeMetricValuesList()

public List<RougeMetricValue> getRougeMetricValuesList()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<RougeMetricValue>

getRougeMetricValuesOrBuilder(int index)

public RougeMetricValueOrBuilder getRougeMetricValuesOrBuilder(int index)

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
RougeMetricValueOrBuilder

getRougeMetricValuesOrBuilderList()

public List<? extends RougeMetricValueOrBuilder> getRougeMetricValuesOrBuilderList()

Output only. Rouge metric values.

repeated .google.cloud.aiplatform.v1beta1.RougeMetricValue rouge_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.RougeMetricValueOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RougeResults.Builder newBuilderForType()
Returns
TypeDescription
RougeResults.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RougeResults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RougeResults.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RougeResults.Builder toBuilder()
Returns
TypeDescription
RougeResults.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException