Interface MergeVersionAliasesRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      String getVersionAliases​(int index)
      Required.
      com.google.protobuf.ByteString getVersionAliasesBytes​(int index)
      Required.
      int getVersionAliasesCount()
      Required.
      List<String> getVersionAliasesList()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        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) = { ... }
        Returns:
        The name.
      • getNameBytes

        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) = { ... }
        Returns:
        The bytes for name.
      • getVersionAliasesList

        List<String> 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];
        Returns:
        A list containing the versionAliases.
      • getVersionAliasesCount

        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];
        Returns:
        The count of versionAliases.
      • getVersionAliases

        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];
        Parameters:
        index - The index of the element to return.
        Returns:
        The versionAliases at the given index.
      • getVersionAliasesBytes

        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];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the versionAliases at the given index.