public final class SamplingStrategy extends GeneratedMessageV3 implements SamplingStrategyOrBuilder
Sampling Strategy for logging, can be for both training and prediction
dataset.
Next ID: 2
Protobuf type google.cloud.aiplatform.v1beta1.SamplingStrategy
Fields
public static final int RANDOM_SAMPLE_CONFIG_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static SamplingStrategy getDefaultInstance()
Returns
public SamplingStrategy getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<SamplingStrategy> getParserForType()
Returns
Overrides
public SamplingStrategy.RandomSampleConfig getRandomSampleConfig()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
public SamplingStrategy.RandomSampleConfigOrBuilder getRandomSampleConfigOrBuilder()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasRandomSampleConfig()
Random sample config. Will support more sampling strategies later.
.google.cloud.aiplatform.v1beta1.SamplingStrategy.RandomSampleConfig random_sample_config = 1;
Returns
Type | Description |
boolean | Whether the randomSampleConfig field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static SamplingStrategy.Builder newBuilder()
Returns
public static SamplingStrategy.Builder newBuilder(SamplingStrategy prototype)
Parameter
Returns
public SamplingStrategy.Builder newBuilderForType()
Returns
protected SamplingStrategy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static SamplingStrategy parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SamplingStrategy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SamplingStrategy parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static SamplingStrategy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SamplingStrategy parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static SamplingStrategy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SamplingStrategy parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SamplingStrategy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SamplingStrategy parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SamplingStrategy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SamplingStrategy parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static SamplingStrategy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<SamplingStrategy> parser()
Returns
public SamplingStrategy.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions