public final class MergeVersionAliasesRequest extends GeneratedMessageV3 implements MergeVersionAliasesRequestOrBuilder
Request message for
ModelService.MergeVersionAliases.
Protobuf type google.cloud.aiplatform.v1beta1.MergeVersionAliasesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VERSION_ALIASES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static MergeVersionAliasesRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MergeVersionAliasesRequest.Builder newBuilder()
public static MergeVersionAliasesRequest.Builder newBuilder(MergeVersionAliasesRequest prototype)
public static MergeVersionAliasesRequest parseDelimitedFrom(InputStream input)
public static MergeVersionAliasesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MergeVersionAliasesRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static MergeVersionAliasesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MergeVersionAliasesRequest parseFrom(ByteString data)
public static MergeVersionAliasesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MergeVersionAliasesRequest parseFrom(CodedInputStream input)
public static MergeVersionAliasesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MergeVersionAliasesRequest parseFrom(InputStream input)
public static MergeVersionAliasesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MergeVersionAliasesRequest parseFrom(ByteBuffer data)
public static MergeVersionAliasesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MergeVersionAliasesRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public MergeVersionAliasesRequest getDefaultInstanceForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<MergeVersionAliasesRequest> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MergeVersionAliasesRequest.Builder newBuilderForType()
protected MergeVersionAliasesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public MergeVersionAliasesRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides