Class ExecuteExtensionRequest (3.41.0)

public final class ExecuteExtensionRequest extends GeneratedMessageV3 implements ExecuteExtensionRequestOrBuilder

Request message for ExtensionExecutionService.ExecuteExtension.

Protobuf type google.cloud.aiplatform.v1beta1.ExecuteExtensionRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATION_PARAMS_FIELD_NUMBER

public static final int OPERATION_PARAMS_FIELD_NUMBER
Field Value
TypeDescription
int

RUNTIME_AUTH_CONFIG_FIELD_NUMBER

public static final int RUNTIME_AUTH_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExecuteExtensionRequest getDefaultInstance()
Returns
TypeDescription
ExecuteExtensionRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ExecuteExtensionRequest prototype)

public static ExecuteExtensionRequest.Builder newBuilder(ExecuteExtensionRequest prototype)
Parameter
NameDescription
prototypeExecuteExtensionRequest
Returns
TypeDescription
ExecuteExtensionRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExecuteExtensionRequest getDefaultInstanceForType()
Returns
TypeDescription
ExecuteExtensionRequest

getName()

public String getName()

Required. Name (identifier) of the extension; Format: projects/{project}/locations/{location}/extensions/{extension}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name (identifier) of the extension; Format: projects/{project}/locations/{location}/extensions/{extension}

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

Returns
TypeDescription
ByteString

The bytes for name.

getOperationId()

public String getOperationId()

Required. The desired ID of the operation to be executed in this extension as defined in ExtensionOperation.operation_id.

string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

Required. The desired ID of the operation to be executed in this extension as defined in ExtensionOperation.operation_id.

string operation_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for operationId.

getOperationParams()

public Struct getOperationParams()

Optional. Request parameters that will be used for executing this operation.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Struct

The operationParams.

getOperationParamsOrBuilder()

public StructOrBuilder getOperationParamsOrBuilder()

Optional. Request parameters that will be used for executing this operation.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StructOrBuilder

getParserForType()

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

getRuntimeAuthConfig()

public AuthConfig getRuntimeAuthConfig()

Optional. Auth config provided at runtime to override the default value in [Extension.manifest.auth_config][]. The AuthConfig.auth_type should match the value in [Extension.manifest.auth_config][].

.google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AuthConfig

The runtimeAuthConfig.

getRuntimeAuthConfigOrBuilder()

public AuthConfigOrBuilder getRuntimeAuthConfigOrBuilder()

Optional. Auth config provided at runtime to override the default value in [Extension.manifest.auth_config][]. The AuthConfig.auth_type should match the value in [Extension.manifest.auth_config][].

.google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AuthConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasOperationParams()

public boolean hasOperationParams()

Optional. Request parameters that will be used for executing this operation.

The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.

.google.protobuf.Struct operation_params = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the operationParams field is set.

hasRuntimeAuthConfig()

public boolean hasRuntimeAuthConfig()

Optional. Auth config provided at runtime to override the default value in [Extension.manifest.auth_config][]. The AuthConfig.auth_type should match the value in [Extension.manifest.auth_config][].

.google.cloud.aiplatform.v1beta1.AuthConfig runtime_auth_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the runtimeAuthConfig field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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