Package inference

Interface ModelConfigOuterClass.ModelRateLimiter.ResourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModelConfigOuterClass.ModelRateLimiter.Resource, ModelConfigOuterClass.ModelRateLimiter.Resource.Builder
Enclosing class:
ModelConfigOuterClass.ModelRateLimiter

public static interface ModelConfigOuterClass.ModelRateLimiter.ResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    @@ ..
    boolean
    @@ ..
    @@ ..
    com.google.protobuf.ByteString
    @@ ..

    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 Details

    • getName

      String getName()
      @@  .. cpp:var:: string name
      @@
      @@     The name associated with the resource.
      @@
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
      @@  .. cpp:var:: string name
      @@
      @@     The name associated with the resource.
      @@
       
      string name = 1;
      Returns:
      The bytes for name.
    • getGlobal

      boolean getGlobal()
      @@  .. cpp:var:: bool global
      @@
      @@     Whether or not the resource is global. If true then the resource
      @@     is assumed to be shared among the devices otherwise specified
      @@     count of the resource is assumed for each device associated
      @@     with the instance.
      @@
       
      bool global = 2;
      Returns:
      The global.
    • getCount

      int getCount()
      @@  .. cpp:var:: uint32 count
      @@
      @@     The number of resources required for the execution of the model
      @@     instance.
      @@
       
      uint32 count = 3;
      Returns:
      The count.