Class ReasoningEngineSpec.PackageSpec (3.40.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
TypeDescription
int

PICKLE_OBJECT_GCS_URI_FIELD_NUMBER

public static final int PICKLE_OBJECT_GCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

PYTHON_VERSION_FIELD_NUMBER

public static final int PYTHON_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

REQUIREMENTS_GCS_URI_FIELD_NUMBER

public static final int REQUIREMENTS_GCS_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReasoningEngineSpec.PackageSpec getDefaultInstance()
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec

getDescriptor()

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

newBuilder()

public static ReasoningEngineSpec.PackageSpec.Builder newBuilder()
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec.Builder

newBuilder(ReasoningEngineSpec.PackageSpec prototype)

public static ReasoningEngineSpec.PackageSpec.Builder newBuilder(ReasoningEngineSpec.PackageSpec prototype)
Parameter
NameDescription
prototypeReasoningEngineSpec.PackageSpec
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec.Builder

parseDelimitedFrom(InputStream input)

public static ReasoningEngineSpec.PackageSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ReasoningEngineSpec.PackageSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ReasoningEngineSpec.PackageSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ReasoningEngineSpec.PackageSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ReasoningEngineSpec.PackageSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReasoningEngineSpec.PackageSpec getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dependencyFilesGcsUri.

getParserForType()

public Parser<ReasoningEngineSpec.PackageSpec> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for requirementsGcsUri.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReasoningEngineSpec.PackageSpec.Builder toBuilder()
Returns
TypeDescription
ReasoningEngineSpec.PackageSpec.Builder

writeTo(CodedOutputStream output)

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