public static final class ReasoningEngineSpec.SourceCodeSpec.PythonSpec extends GeneratedMessage implements ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder
Specification for running a Python application from source.
Protobuf type
google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ENTRYPOINT_MODULE_FIELD_NUMBER
public static final int ENTRYPOINT_MODULE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENTRYPOINT_OBJECT_FIELD_NUMBER
public static final int ENTRYPOINT_OBJECT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REQUIREMENTS_FILE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder newBuilder()
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder newBuilder(ReasoningEngineSpec.SourceCodeSpec.PythonSpec prototype)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseDelimitedFrom(InputStream input)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(ByteString data)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(CodedInputStream input)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(InputStream input)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(ByteBuffer data)
public static ReasoningEngineSpec.SourceCodeSpec.PythonSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ReasoningEngineSpec.SourceCodeSpec.PythonSpec> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public ReasoningEngineSpec.SourceCodeSpec.PythonSpec getDefaultInstanceForType()
getEntrypointModule()
public String getEntrypointModule()
Optional. The Python module to load as the entrypoint, specified as a
fully qualified module name. For example: path.to.agent.
If not specified, defaults to "agent".
The project root will be added to Python sys.path, allowing imports
to be specified relative to the root.
string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The entrypointModule.
|
getEntrypointModuleBytes()
public ByteString getEntrypointModuleBytes()
Optional. The Python module to load as the entrypoint, specified as a
fully qualified module name. For example: path.to.agent.
If not specified, defaults to "agent".
The project root will be added to Python sys.path, allowing imports
to be specified relative to the root.
string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for entrypointModule.
|
getEntrypointObject()
public String getEntrypointObject()
Optional. The name of the callable object within the
entrypoint_module to use as the application If not specified,
defaults to "root_agent".
string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The entrypointObject.
|
getEntrypointObjectBytes()
public ByteString getEntrypointObjectBytes()
Optional. The name of the callable object within the
entrypoint_module to use as the application If not specified,
defaults to "root_agent".
string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for entrypointObject.
|
public Parser<ReasoningEngineSpec.SourceCodeSpec.PythonSpec> getParserForType()
Overrides
public String getRequirementsFile()
Optional. The path to the requirements file, relative to the source
root. If not specified, defaults to "requirements.txt".
string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The requirementsFile.
|
public ByteString getRequirementsFileBytes()
Optional. The path to the requirements file, relative to the source
root. If not specified, defaults to "requirements.txt".
string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for requirementsFile.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public String getVersion()
Optional. The version of Python to use. Support version
includes 3.9, 3.10, 3.11, 3.12, 3.13.
If not specified, default value is 3.10.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The version.
|
public ByteString getVersionBytes()
Optional. The version of Python to use. Support version
includes 3.9, 3.10, 3.11, 3.12, 3.13.
If not specified, default value is 3.10.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for version.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder newBuilderForType()
protected ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides