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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateExtensionRequest build()
Returns
TypeDescription
UpdateExtensionRequest

buildPartial()

public UpdateExtensionRequest buildPartial()
Returns
TypeDescription
UpdateExtensionRequest

clear()

public UpdateExtensionRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateExtensionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateExtensionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateExtensionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateExtensionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateExtensionRequest

getDescriptorForType()

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

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueExtension
Returns
TypeDescription
UpdateExtensionRequest.Builder

mergeFrom(UpdateExtensionRequest other)

public UpdateExtensionRequest.Builder mergeFrom(UpdateExtensionRequest other)
Parameter
NameDescription
otherUpdateExtensionRequest
Returns
TypeDescription
UpdateExtensionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateExtensionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateExtensionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExtensionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueExtension
Returns
TypeDescription
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
NameDescription
builderForValueExtension.Builder
Returns
TypeDescription
UpdateExtensionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateExtensionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateExtensionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateExtensionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateExtensionRequest.Builder