Interface SetInstanceAcceleratorRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCoreCount()
      Required.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      Instance.AcceleratorType getType()
      Required.
      int getTypeValue()
      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.
      • getTypeValue

        int getTypeValue()
         Required. Type of this accelerator.
         
        .google.cloud.notebooks.v1beta1.Instance.AcceleratorType type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for type.
      • getType

        Instance.AcceleratorType getType()
         Required. Type of this accelerator.
         
        .google.cloud.notebooks.v1beta1.Instance.AcceleratorType type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The type.
      • getCoreCount

        long getCoreCount()
         Required. Count of cores of this accelerator. Note that not all combinations
         of `type` and `core_count` are valid. Check [GPUs on
         Compute Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to
         find a valid combination. TPUs are not supported.
         
        int64 core_count = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The coreCount.