public final class MergeVersionAliasesRequest extends com.google.protobuf.GeneratedMessageV3 implements MergeVersionAliasesRequestOrBuilder
Request message for [ModelService.MergeVersionAliases][google.cloud.aiplatform.v1beta1.ModelService.MergeVersionAliases].Protobuf type
google.cloud.aiplatform.v1beta1.MergeVersionAliasesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
MergeVersionAliasesRequest.Builder
Request message for
[ModelService.MergeVersionAliases][google.cloud.aiplatform.v1beta1.ModelService.MergeVersionAliases].
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
VERSION_ALIASES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static MergeVersionAliasesRequest |
getDefaultInstance() |
MergeVersionAliasesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Parser<MergeVersionAliasesRequest> |
getParserForType() |
int |
getSerializedSize() |
String |
getVersionAliases(int index)
Required.
|
com.google.protobuf.ByteString |
getVersionAliasesBytes(int index)
Required.
|
int |
getVersionAliasesCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getVersionAliasesList()
Required.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MergeVersionAliasesRequest.Builder |
newBuilder() |
static MergeVersionAliasesRequest.Builder |
newBuilder(MergeVersionAliasesRequest prototype) |
MergeVersionAliasesRequest.Builder |
newBuilderForType() |
protected MergeVersionAliasesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MergeVersionAliasesRequest |
parseDelimitedFrom(InputStream input) |
static MergeVersionAliasesRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MergeVersionAliasesRequest |
parseFrom(byte[] data) |
static MergeVersionAliasesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MergeVersionAliasesRequest |
parseFrom(ByteBuffer data) |
static MergeVersionAliasesRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MergeVersionAliasesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static MergeVersionAliasesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MergeVersionAliasesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MergeVersionAliasesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MergeVersionAliasesRequest |
parseFrom(InputStream input) |
static MergeVersionAliasesRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MergeVersionAliasesRequest> |
parser() |
MergeVersionAliasesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int VERSION_ALIASES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required. The name of the model version to merge aliases, with a version ID
explicitly included.
Example: `projects/{project}/locations/{location}/models/{model}@1234`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface MergeVersionAliasesRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The name of the model version to merge aliases, with a version ID
explicitly included.
Example: `projects/{project}/locations/{location}/models/{model}@1234`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface MergeVersionAliasesRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getVersionAliasesList()
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
`[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
Add the `-` prefix to an alias means removing that alias from the version.
`-` is NOT counted in the 128 characters. Example: `-golden` means removing
the `golden` alias from the version.
There is NO ordering in aliases, which means
1) The aliases returned from GetModel API might not have the exactly same
order from this MergeVersionAliases API. 2) Adding and deleting the same
alias in the request is not recommended, and the 2 operations will be
cancelled out.
repeated string version_aliases = 2 [(.google.api.field_behavior) = REQUIRED];getVersionAliasesList in interface MergeVersionAliasesRequestOrBuilderpublic int getVersionAliasesCount()
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
`[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
Add the `-` prefix to an alias means removing that alias from the version.
`-` is NOT counted in the 128 characters. Example: `-golden` means removing
the `golden` alias from the version.
There is NO ordering in aliases, which means
1) The aliases returned from GetModel API might not have the exactly same
order from this MergeVersionAliases API. 2) Adding and deleting the same
alias in the request is not recommended, and the 2 operations will be
cancelled out.
repeated string version_aliases = 2 [(.google.api.field_behavior) = REQUIRED];getVersionAliasesCount in interface MergeVersionAliasesRequestOrBuilderpublic String getVersionAliases(int index)
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
`[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
Add the `-` prefix to an alias means removing that alias from the version.
`-` is NOT counted in the 128 characters. Example: `-golden` means removing
the `golden` alias from the version.
There is NO ordering in aliases, which means
1) The aliases returned from GetModel API might not have the exactly same
order from this MergeVersionAliases API. 2) Adding and deleting the same
alias in the request is not recommended, and the 2 operations will be
cancelled out.
repeated string version_aliases = 2 [(.google.api.field_behavior) = REQUIRED];getVersionAliases in interface MergeVersionAliasesRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getVersionAliasesBytes(int index)
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
`[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9]`.
Add the `-` prefix to an alias means removing that alias from the version.
`-` is NOT counted in the 128 characters. Example: `-golden` means removing
the `golden` alias from the version.
There is NO ordering in aliases, which means
1) The aliases returned from GetModel API might not have the exactly same
order from this MergeVersionAliases API. 2) Adding and deleting the same
alias in the request is not recommended, and the 2 operations will be
cancelled out.
repeated string version_aliases = 2 [(.google.api.field_behavior) = REQUIRED];getVersionAliasesBytes in interface MergeVersionAliasesRequestOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MergeVersionAliasesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MergeVersionAliasesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MergeVersionAliasesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MergeVersionAliasesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MergeVersionAliasesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MergeVersionAliasesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MergeVersionAliasesRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static MergeVersionAliasesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MergeVersionAliasesRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MergeVersionAliasesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MergeVersionAliasesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MergeVersionAliasesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MergeVersionAliasesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MergeVersionAliasesRequest.Builder newBuilder()
public static MergeVersionAliasesRequest.Builder newBuilder(MergeVersionAliasesRequest prototype)
public MergeVersionAliasesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MergeVersionAliasesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MergeVersionAliasesRequest getDefaultInstance()
public static com.google.protobuf.Parser<MergeVersionAliasesRequest> parser()
public com.google.protobuf.Parser<MergeVersionAliasesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MergeVersionAliasesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.