Interface ListDevicesRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ListDevicesRequest, ListDevicesRequest.Builder

    public interface ListDevicesRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getSessionHandle()
      Optional: session_handle must be returned by a CreateSession call to the same master service.
      com.google.protobuf.ByteString getSessionHandleBytes()
      Optional: session_handle must be returned by a CreateSession call to the same master service.
      • 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

      • getSessionHandle

        java.lang.String getSessionHandle()
         Optional: session_handle must be returned by a CreateSession call to the
         same master service.
         When session_handle is empty, the ClusterSpec provided when the master was
         started is used to compute the available devices. If the session_handle is
         provided but not recognized, an error is returned. Finally, if a valid
         session_handle is provided, the cluster configuration for that session is
         used when computing the response.
         
        string session_handle = 1;
        Returns:
        The sessionHandle.
      • getSessionHandleBytes

        com.google.protobuf.ByteString getSessionHandleBytes()
         Optional: session_handle must be returned by a CreateSession call to the
         same master service.
         When session_handle is empty, the ClusterSpec provided when the master was
         started is used to compute the available devices. If the session_handle is
         provided but not recognized, an error is returned. Finally, if a valid
         session_handle is provided, the cluster configuration for that session is
         used when computing the response.
         
        string session_handle = 1;
        Returns:
        The bytes for sessionHandle.