Interface UpgradeInstanceInternalRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      UpgradeType getType()
      Optional.
      int getTypeValue()
      Optional.
      String getVmId()
      Required.
      com.google.protobuf.ByteString getVmIdBytes()
      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. Format:
         `projects/{project_id}/locations/{location}/instances/{instance_id}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. Format:
         `projects/{project_id}/locations/{location}/instances/{instance_id}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for name.
      • getVmId

        String getVmId()
         Required. The VM hardware token for authenticating the VM.
         https://cloud.google.com/compute/docs/instances/verifying-instance-identity
         
        string vm_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The vmId.
      • getVmIdBytes

        com.google.protobuf.ByteString getVmIdBytes()
         Required. The VM hardware token for authenticating the VM.
         https://cloud.google.com/compute/docs/instances/verifying-instance-identity
         
        string vm_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for vmId.
      • getTypeValue

        int getTypeValue()
         Optional. The optional UpgradeType. Setting this field will search for additional
         compute images to upgrade this instance.
         
        .google.cloud.notebooks.v1.UpgradeType type = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The enum numeric value on the wire for type.
      • getType

        UpgradeType getType()
         Optional. The optional UpgradeType. Setting this field will search for additional
         compute images to upgrade this instance.
         
        .google.cloud.notebooks.v1.UpgradeType type = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The type.