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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DEPENDENCY_FILES_GCS_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PICKLE_OBJECT_GCS_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PYTHON_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int REQUIREMENTS_GCS_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ReasoningEngineSpec.PackageSpec getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ReasoningEngineSpec.PackageSpec.Builder newBuilder()
public static ReasoningEngineSpec.PackageSpec.Builder newBuilder(ReasoningEngineSpec.PackageSpec prototype)
public static ReasoningEngineSpec.PackageSpec parseDelimitedFrom(InputStream input)
public static ReasoningEngineSpec.PackageSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.PackageSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ReasoningEngineSpec.PackageSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.PackageSpec parseFrom(ByteString data)
public static ReasoningEngineSpec.PackageSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.PackageSpec parseFrom(CodedInputStream input)
public static ReasoningEngineSpec.PackageSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.PackageSpec parseFrom(InputStream input)
public static ReasoningEngineSpec.PackageSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.PackageSpec parseFrom(ByteBuffer data)
public static ReasoningEngineSpec.PackageSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ReasoningEngineSpec.PackageSpec> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public ReasoningEngineSpec.PackageSpec getDefaultInstanceForType()
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.
|
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.
|
public Parser<ReasoningEngineSpec.PackageSpec> getParserForType()
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ReasoningEngineSpec.PackageSpec.Builder newBuilderForType()
protected ReasoningEngineSpec.PackageSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ReasoningEngineSpec.PackageSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides