Class UpdateExtensionRequest (3.45.0)

public final class UpdateExtensionRequest extends GeneratedMessageV3 implements UpdateExtensionRequestOrBuilder

Request message for ExtensionRegistryService.UpdateExtension.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateExtensionRequest

Static Fields

EXTENSION_FIELD_NUMBER

public static final int EXTENSION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateExtensionRequest getDefaultInstance()
Returns
Type Description
UpdateExtensionRequest

getDescriptor()

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

newBuilder()

public static UpdateExtensionRequest.Builder newBuilder()
Returns
Type Description
UpdateExtensionRequest.Builder

newBuilder(UpdateExtensionRequest prototype)

public static UpdateExtensionRequest.Builder newBuilder(UpdateExtensionRequest prototype)
Parameter
Name Description
prototype UpdateExtensionRequest
Returns
Type Description
UpdateExtensionRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateExtensionRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateExtensionRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateExtensionRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateExtensionRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateExtensionRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateExtensionRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateExtensionRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateExtensionRequest> parser()
Returns
Type Description
Parser<UpdateExtensionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateExtensionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateExtensionRequest

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.

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

getParserForType()

public Parser<UpdateExtensionRequest> getParserForType()
Returns
Type Description
Parser<UpdateExtensionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateExtensionRequest.Builder newBuilderForType()
Returns
Type Description
UpdateExtensionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateExtensionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateExtensionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateExtensionRequest.Builder toBuilder()
Returns
Type Description
UpdateExtensionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException