public static final class OnlineEvaluator.Config.RandomSampling extends GeneratedMessage implements OnlineEvaluator.Config.RandomSamplingOrBuilderConfiguration for random sampling.
Protobuf type google.cloud.aiplatform.v1beta1.OnlineEvaluator.Config.RandomSampling
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > OnlineEvaluator.Config.RandomSamplingStatic Fields
PERCENTAGE_FIELD_NUMBER
public static final int PERCENTAGE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static OnlineEvaluator.Config.RandomSampling getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static OnlineEvaluator.Config.RandomSampling.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling.Builder |
|
newBuilder(OnlineEvaluator.Config.RandomSampling prototype)
public static OnlineEvaluator.Config.RandomSampling.Builder newBuilder(OnlineEvaluator.Config.RandomSampling prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
OnlineEvaluator.Config.RandomSampling |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling.Builder |
|
parseDelimitedFrom(InputStream input)
public static OnlineEvaluator.Config.RandomSampling parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OnlineEvaluator.Config.RandomSampling parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static OnlineEvaluator.Config.RandomSampling parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OnlineEvaluator.Config.RandomSampling parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static OnlineEvaluator.Config.RandomSampling parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OnlineEvaluator.Config.RandomSampling parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static OnlineEvaluator.Config.RandomSampling parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OnlineEvaluator.Config.RandomSampling parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static OnlineEvaluator.Config.RandomSampling parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OnlineEvaluator.Config.RandomSampling parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static OnlineEvaluator.Config.RandomSampling parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OnlineEvaluator.Config.RandomSampling parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<OnlineEvaluator.Config.RandomSampling> parser()| Returns | |
|---|---|
| Type | Description |
Parser<RandomSampling> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public OnlineEvaluator.Config.RandomSampling getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling |
|
getParserForType()
public Parser<OnlineEvaluator.Config.RandomSampling> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<RandomSampling> |
|
getPercentage()
public int getPercentage() Required. The percentage of traces to sample for evaluation.
Must be an integer between 1 and 100.
int32 percentage = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The percentage. |
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 OnlineEvaluator.Config.RandomSampling.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected OnlineEvaluator.Config.RandomSampling.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling.Builder |
|
toBuilder()
public OnlineEvaluator.Config.RandomSampling.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
OnlineEvaluator.Config.RandomSampling.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|