Class ExtensionOperation.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExtensionOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExtensionOperation.Builder
Overrides

build()

public ExtensionOperation build()
Returns
TypeDescription
ExtensionOperation

buildPartial()

public ExtensionOperation buildPartial()
Returns
TypeDescription
ExtensionOperation

clear()

public ExtensionOperation.Builder clear()
Returns
TypeDescription
ExtensionOperation.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExtensionOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ExtensionOperation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExtensionOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ExtensionOperation.Builder

This builder for chaining.

clone()

public ExtensionOperation.Builder clone()
Returns
TypeDescription
ExtensionOperation.Builder
Overrides

getDefaultInstanceForType()

public ExtensionOperation getDefaultInstanceForType()
Returns
TypeDescription
ExtensionOperation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExtensionOperation other)

public ExtensionOperation.Builder mergeFrom(ExtensionOperation other)
Parameter
NameDescription
otherExtensionOperation
Returns
TypeDescription
ExtensionOperation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExtensionOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExtensionOperation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExtensionOperation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFunctionDeclaration
Returns
TypeDescription
ExtensionOperation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExtensionOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExtensionOperation.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExtensionOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFunctionDeclaration
Returns
TypeDescription
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
NameDescription
builderForValueFunctionDeclaration.Builder
Returns
TypeDescription
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
NameDescription
valueString

The operationId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for operationId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExtensionOperation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExtensionOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExtensionOperation.Builder
Overrides