Class ExtensionOperation.Builder (3.55.0)

public static final class ExtensionOperation.Builder extends GeneratedMessageV3.Builder<ExtensionOperation.Builder> implements ExtensionOperationOrBuilder

Operation of an extension.

Protobuf type google.cloud.aiplatform.v1beta1.ExtensionOperation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExtensionOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExtensionOperation.Builder
Overrides

build()

public ExtensionOperation build()
Returns
Type Description
ExtensionOperation

buildPartial()

public ExtensionOperation buildPartial()
Returns
Type Description
ExtensionOperation

clear()

public ExtensionOperation.Builder clear()
Returns
Type Description
ExtensionOperation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExtensionOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExtensionOperation.Builder
Overrides

clearFunctionDeclaration()

public ExtensionOperation.Builder clearFunctionDeclaration()

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
ExtensionOperation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExtensionOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExtensionOperation.Builder
Overrides

clearOperationId()

public ExtensionOperation.Builder clearOperationId()

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
ExtensionOperation.Builder

This builder for chaining.

clone()

public ExtensionOperation.Builder clone()
Returns
Type Description
ExtensionOperation.Builder
Overrides

getDefaultInstanceForType()

public ExtensionOperation getDefaultInstanceForType()
Returns
Type Description
ExtensionOperation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getFunctionDeclarationBuilder()

public FunctionDeclaration.Builder getFunctionDeclarationBuilder()

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.Builder

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExtensionOperation other)

public ExtensionOperation.Builder mergeFrom(ExtensionOperation other)
Parameter
Name Description
other ExtensionOperation
Returns
Type Description
ExtensionOperation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExtensionOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExtensionOperation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExtensionOperation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExtensionOperation.Builder
Overrides

mergeFunctionDeclaration(FunctionDeclaration value)

public ExtensionOperation.Builder mergeFunctionDeclaration(FunctionDeclaration value)

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];

Parameter
Name Description
value FunctionDeclaration
Returns
Type Description
ExtensionOperation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExtensionOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExtensionOperation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExtensionOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExtensionOperation.Builder
Overrides

setFunctionDeclaration(FunctionDeclaration value)

public ExtensionOperation.Builder setFunctionDeclaration(FunctionDeclaration value)

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];

Parameter
Name Description
value FunctionDeclaration
Returns
Type Description
ExtensionOperation.Builder

setFunctionDeclaration(FunctionDeclaration.Builder builderForValue)

public ExtensionOperation.Builder setFunctionDeclaration(FunctionDeclaration.Builder builderForValue)

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];

Parameter
Name Description
builderForValue FunctionDeclaration.Builder
Returns
Type Description
ExtensionOperation.Builder

setOperationId(String value)

public ExtensionOperation.Builder setOperationId(String value)

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;

Parameter
Name Description
value String

The operationId to set.

Returns
Type Description
ExtensionOperation.Builder

This builder for chaining.

setOperationIdBytes(ByteString value)

public ExtensionOperation.Builder setOperationIdBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for operationId to set.

Returns
Type Description
ExtensionOperation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExtensionOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExtensionOperation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExtensionOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExtensionOperation.Builder
Overrides