Class BatchImportModelEvaluationSlicesRequest (3.36.0)

public final class BatchImportModelEvaluationSlicesRequest extends GeneratedMessageV3 implements BatchImportModelEvaluationSlicesRequestOrBuilder

Request message for ModelService.BatchImportModelEvaluationSlices

Protobuf type google.cloud.aiplatform.v1beta1.BatchImportModelEvaluationSlicesRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchImportModelEvaluationSlicesRequest

Static Fields

MODEL_EVALUATION_SLICES_FIELD_NUMBER

public static final int MODEL_EVALUATION_SLICES_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchImportModelEvaluationSlicesRequest getDefaultInstance()
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchImportModelEvaluationSlicesRequest prototype)

public static BatchImportModelEvaluationSlicesRequest.Builder newBuilder(BatchImportModelEvaluationSlicesRequest prototype)
Parameter
NameDescription
prototypeBatchImportModelEvaluationSlicesRequest
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchImportModelEvaluationSlicesRequest getDefaultInstanceForType()
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest

getModelEvaluationSlices(int index)

public ModelEvaluationSlice getModelEvaluationSlices(int index)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSlice

getModelEvaluationSlicesCount()

public int getModelEvaluationSlicesCount()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getModelEvaluationSlicesList()

public List<ModelEvaluationSlice> getModelEvaluationSlicesList()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<ModelEvaluationSlice>

getModelEvaluationSlicesOrBuilder(int index)

public ModelEvaluationSliceOrBuilder getModelEvaluationSlicesOrBuilder(int index)

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
ModelEvaluationSliceOrBuilder

getModelEvaluationSlicesOrBuilderList()

public List<? extends ModelEvaluationSliceOrBuilder> getModelEvaluationSlicesOrBuilderList()

Required. Model evaluation slice resource to be imported.

repeated .google.cloud.aiplatform.v1beta1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED];

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

getParent()

public String getParent()

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the parent ModelEvaluation resource. Format: projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

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 BatchImportModelEvaluationSlicesRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchImportModelEvaluationSlicesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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