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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateExtensionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateExtensionRequest build()
public UpdateExtensionRequest buildPartial()
public UpdateExtensionRequest.Builder clear()
Overrides
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];
public UpdateExtensionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateExtensionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public UpdateExtensionRequest.Builder clone()
Overrides
public UpdateExtensionRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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.
|
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public UpdateExtensionRequest.Builder mergeFrom(UpdateExtensionRequest other)
public UpdateExtensionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateExtensionRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final UpdateExtensionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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];
public UpdateExtensionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateExtensionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateExtensionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|