Class ExtensionOperation (3.54.0)

public final class ExtensionOperation extends GeneratedMessageV3 implements ExtensionOperationOrBuilder

Operation of an extension.

Protobuf type google.cloud.aiplatform.v1beta1.ExtensionOperation

Static Fields

FUNCTION_DECLARATION_FIELD_NUMBER

public static final int FUNCTION_DECLARATION_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExtensionOperation getDefaultInstance()
Returns
Type Description
ExtensionOperation

getDescriptor()

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

newBuilder()

public static ExtensionOperation.Builder newBuilder()
Returns
Type Description
ExtensionOperation.Builder

newBuilder(ExtensionOperation prototype)

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

parseDelimitedFrom(InputStream input)

public static ExtensionOperation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExtensionOperation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ExtensionOperation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ExtensionOperation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExtensionOperation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ExtensionOperation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExtensionOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ExtensionOperation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExtensionOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExtensionOperation> parser()
Returns
Type Description
Parser<ExtensionOperation>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExtensionOperation getDefaultInstanceForType()
Returns
Type Description
ExtensionOperation

getFunctionDeclaration()

public FunctionDeclaration getFunctionDeclaration()

Output only. Structured representation of a function declaration as defined by the OpenAPI Spec.

.google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FunctionDeclaration

The functionDeclaration.

getFunctionDeclarationOrBuilder()

public FunctionDeclarationOrBuilder getFunctionDeclarationOrBuilder()

Output only. Structured representation of a function declaration as defined by the OpenAPI Spec.

.google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FunctionDeclarationOrBuilder

getOperationId()

public String getOperationId()

Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/.

This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path.

string operation_id = 1;

Returns
Type Description
String

The operationId.

getOperationIdBytes()

public ByteString getOperationIdBytes()

Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/.

This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path.

string operation_id = 1;

Returns
Type Description
ByteString

The bytes for operationId.

getParserForType()

public Parser<ExtensionOperation> getParserForType()
Returns
Type Description
Parser<ExtensionOperation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFunctionDeclaration()

public boolean hasFunctionDeclaration()

Output only. Structured representation of a function declaration as defined by the OpenAPI Spec.

.google.cloud.aiplatform.v1beta1.FunctionDeclaration function_declaration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the functionDeclaration field is set.

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 ExtensionOperation.Builder newBuilderForType()
Returns
Type Description
ExtensionOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ExtensionOperation.Builder toBuilder()
Returns
Type Description
ExtensionOperation.Builder

writeTo(CodedOutputStream output)

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