Class UpdateExtensionRequest (3.41.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
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateExtensionRequest getDefaultInstance()
Returns
TypeDescription
UpdateExtensionRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateExtensionRequest.Builder newBuilder()
Returns
TypeDescription
UpdateExtensionRequest.Builder

newBuilder(UpdateExtensionRequest prototype)

public static UpdateExtensionRequest.Builder newBuilder(UpdateExtensionRequest prototype)
Parameter
NameDescription
prototypeUpdateExtensionRequest
Returns
TypeDescription
UpdateExtensionRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateExtensionRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateExtensionRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateExtensionRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateExtensionRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateExtensionRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateExtensionRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateExtensionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateExtensionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateExtensionRequest> parser()
Returns
TypeDescription
Parser<UpdateExtensionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateExtensionRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ExtensionOrBuilder

getParserForType()

public Parser<UpdateExtensionRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateExtensionRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateExtensionRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateExtensionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateExtensionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateExtensionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateExtensionRequest.Builder toBuilder()
Returns
TypeDescription
UpdateExtensionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException