Class UpdateExtensionRequest.Builder (3.44.0)

public static final class UpdateExtensionRequest.Builder extends GeneratedMessageV3.Builder<UpdateExtensionRequest.Builder> implements UpdateExtensionRequestOrBuilder

Request message for ExtensionRegistryService.UpdateExtension.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateExtensionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateExtensionRequest build()
Returns
Type Description
UpdateExtensionRequest

buildPartial()

public UpdateExtensionRequest buildPartial()
Returns
Type Description
UpdateExtensionRequest

clear()

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

clearExtension()

public UpdateExtensionRequest.Builder clearExtension()

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateExtensionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateExtensionRequest.Builder clearUpdateMask()

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateExtensionRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateExtensionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExtensionRequest

getDescriptorForType()

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

getExtension()

public Extension getExtension()

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Extension

The extension.

getExtensionBuilder()

public Extension.Builder getExtensionBuilder()

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Extension.Builder

getExtensionOrBuilder()

public ExtensionOrBuilder getExtensionOrBuilder()

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExtensionOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasExtension()

public boolean hasExtension()

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the extension field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExtension(Extension value)

public UpdateExtensionRequest.Builder mergeExtension(Extension value)

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Extension
Returns
Type Description
UpdateExtensionRequest.Builder

mergeFrom(UpdateExtensionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateExtensionRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExtensionRequest.Builder

setExtension(Extension value)

public UpdateExtensionRequest.Builder setExtension(Extension value)

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Extension
Returns
Type Description
UpdateExtensionRequest.Builder

setExtension(Extension.Builder builderForValue)

public UpdateExtensionRequest.Builder setExtension(Extension.Builder builderForValue)

Required. The Extension which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Extension extension = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Extension.Builder
Returns
Type Description
UpdateExtensionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateExtensionRequest.Builder setUpdateMask(FieldMask value)

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateExtensionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateExtensionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask specifying which fields to update. Supported fields:

* <code>display_name</code>
* <code>description</code>
* <code>tool_use_examples</code>

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateExtensionRequest.Builder