Class ExtensionOperation (3.41.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
TypeDescription
int

OPERATION_ID_FIELD_NUMBER

public static final int OPERATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExtensionOperation getDefaultInstance()
Returns
TypeDescription
ExtensionOperation

getDescriptor()

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

newBuilder()

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

newBuilder(ExtensionOperation prototype)

public static ExtensionOperation.Builder newBuilder(ExtensionOperation prototype)
Parameter
NameDescription
prototypeExtensionOperation
Returns
TypeDescription
ExtensionOperation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExtensionOperation getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for operationId.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the functionDeclaration 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 ExtensionOperation.Builder newBuilderForType()
Returns
TypeDescription
ExtensionOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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