Class ReasoningEngineSpec.PackageSpec (3.46.0)

public static final class ReasoningEngineSpec.PackageSpec extends GeneratedMessageV3 implements ReasoningEngineSpec.PackageSpecOrBuilder

User provided package spec like pickled object and package requirements.

Protobuf type google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.PackageSpec

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReasoningEngineSpec.PackageSpec

Static Fields

DEPENDENCY_FILES_GCS_URI_FIELD_NUMBER

public static final int DEPENDENCY_FILES_GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

PICKLE_OBJECT_GCS_URI_FIELD_NUMBER

public static final int PICKLE_OBJECT_GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

PYTHON_VERSION_FIELD_NUMBER

public static final int PYTHON_VERSION_FIELD_NUMBER
Field Value
Type Description
int

REQUIREMENTS_GCS_URI_FIELD_NUMBER

public static final int REQUIREMENTS_GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReasoningEngineSpec.PackageSpec getDefaultInstance()
Returns
Type Description
ReasoningEngineSpec.PackageSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReasoningEngineSpec.PackageSpec.Builder newBuilder()
Returns
Type Description
ReasoningEngineSpec.PackageSpec.Builder

newBuilder(ReasoningEngineSpec.PackageSpec prototype)

public static ReasoningEngineSpec.PackageSpec.Builder newBuilder(ReasoningEngineSpec.PackageSpec prototype)
Parameter
Name Description
prototype ReasoningEngineSpec.PackageSpec
Returns
Type Description
ReasoningEngineSpec.PackageSpec.Builder

parseDelimitedFrom(InputStream input)

public static ReasoningEngineSpec.PackageSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReasoningEngineSpec.PackageSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReasoningEngineSpec.PackageSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReasoningEngineSpec.PackageSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReasoningEngineSpec.PackageSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReasoningEngineSpec.PackageSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReasoningEngineSpec.PackageSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReasoningEngineSpec.PackageSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReasoningEngineSpec.PackageSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReasoningEngineSpec.PackageSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReasoningEngineSpec.PackageSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReasoningEngineSpec.PackageSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineSpec.PackageSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReasoningEngineSpec.PackageSpec> parser()
Returns
Type Description
Parser<PackageSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReasoningEngineSpec.PackageSpec getDefaultInstanceForType()
Returns
Type Description
ReasoningEngineSpec.PackageSpec

getDependencyFilesGcsUri()

public String getDependencyFilesGcsUri()

Optional. The Cloud Storage URI of the dependency files in tar.gz format.

string dependency_files_gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dependencyFilesGcsUri.

getDependencyFilesGcsUriBytes()

public ByteString getDependencyFilesGcsUriBytes()

Optional. The Cloud Storage URI of the dependency files in tar.gz format.

string dependency_files_gcs_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dependencyFilesGcsUri.

getParserForType()

public Parser<ReasoningEngineSpec.PackageSpec> getParserForType()
Returns
Type Description
Parser<PackageSpec>
Overrides

getPickleObjectGcsUri()

public String getPickleObjectGcsUri()

Optional. The Cloud Storage URI of the pickled python object.

string pickle_object_gcs_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pickleObjectGcsUri.

getPickleObjectGcsUriBytes()

public ByteString getPickleObjectGcsUriBytes()

Optional. The Cloud Storage URI of the pickled python object.

string pickle_object_gcs_uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pickleObjectGcsUri.

getPythonVersion()

public String getPythonVersion()

Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, default value is 3.10.

string python_version = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pythonVersion.

getPythonVersionBytes()

public ByteString getPythonVersionBytes()

Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, default value is 3.10.

string python_version = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pythonVersion.

getRequirementsGcsUri()

public String getRequirementsGcsUri()

Optional. The Cloud Storage URI of the requirements.txt file

string requirements_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requirementsGcsUri.

getRequirementsGcsUriBytes()

public ByteString getRequirementsGcsUriBytes()

Optional. The Cloud Storage URI of the requirements.txt file

string requirements_gcs_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requirementsGcsUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReasoningEngineSpec.PackageSpec.Builder newBuilderForType()
Returns
Type Description
ReasoningEngineSpec.PackageSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReasoningEngineSpec.PackageSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReasoningEngineSpec.PackageSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReasoningEngineSpec.PackageSpec.Builder toBuilder()
Returns
Type Description
ReasoningEngineSpec.PackageSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException