public final class MergeVersionAliasesRequest extends GeneratedMessageV3 implements MergeVersionAliasesRequestOrBuilder
Request message for ModelService.MergeVersionAliases.
Protobuf type google.cloud.aiplatform.v1beta1.MergeVersionAliasesRequest
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int VERSION_ALIASES_FIELD_NUMBER
Field Value
Static Methods
public static MergeVersionAliasesRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static MergeVersionAliasesRequest.Builder newBuilder()
Returns
public static MergeVersionAliasesRequest.Builder newBuilder(MergeVersionAliasesRequest prototype)
Parameter
Returns
public static MergeVersionAliasesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MergeVersionAliasesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static MergeVersionAliasesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<MergeVersionAliasesRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public MergeVersionAliasesRequest getDefaultInstanceForType()
Returns
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) = { ... }
Returns
Type | Description |
String | The name.
|
public 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) = { ... }
Returns
public Parser<MergeVersionAliasesRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public String getVersionAliases(int index)
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
a-z{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];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The versionAliases at the given index.
|
public ByteString getVersionAliasesBytes(int index)
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
a-z{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];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the versionAliases at the given index.
|
public int getVersionAliasesCount()
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
a-z{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];
Returns
Type | Description |
int | The count of versionAliases.
|
public ProtocolStringList getVersionAliasesList()
Required. The set of version aliases to merge.
The alias should be at most 128 characters, and match
a-z{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];
Returns
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public MergeVersionAliasesRequest.Builder newBuilderForType()
Returns
protected MergeVersionAliasesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public MergeVersionAliasesRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions