Class ErrorResolverStub

  • All Implemented Interfaces:
    ErrorResolver, ErrorResolverTypes, com.vmware.vapi.bindings.Service

    public class ErrorResolverStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements ErrorResolver
    Remote stub implementation of the ErrorResolver API service.

    WARNING: Internal class, subject to change in future versions.

    • Field Summary

      • Fields inherited from class com.vmware.vapi.internal.bindings.Stub

        apiProvider, converter, ifaceId, retryPolicy, securityContext
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorResolverStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      ErrorResolverStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ErrorResolverInfo get​(java.lang.String errorId)
      Returns some metadata about the given error_id.
      void get​(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback)
      Returns some metadata about the given error_id.
      void get​(java.lang.String errorId, com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns some metadata about the given error_id.
      ErrorResolverInfo get​(java.lang.String errorId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns some metadata about the given error_id.
      ErrorResolverInfoList list()
      Returns a list of metadata for all the error resolvers registered.
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback)
      Returns a list of metadata for all the error resolvers registered.
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns a list of metadata for all the error resolvers registered.
      ErrorResolverInfoList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns a list of metadata for all the error resolvers registered.
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList)
      Invokes the corresponding error resolver for the given error(s) present in the payload
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Invokes the corresponding error resolver for the given error(s) present in the payload
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Invokes the corresponding error resolver for the given error(s) present in the payload
      void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Invokes the corresponding error resolver for the given error(s) present in the payload
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ErrorResolverStub

        public ErrorResolverStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                 com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                                 com.vmware.vapi.bindings.StubConfigurationBase config)
      • ErrorResolverStub

        public ErrorResolverStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                 com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • get

        public ErrorResolverInfo get​(java.lang.String errorId)
        Description copied from interface: ErrorResolver
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface ErrorResolver
        Parameters:
        errorId - (required)
        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfo
      • get

        public ErrorResolverInfo get​(java.lang.String errorId,
                                     com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ErrorResolver
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        get in interface ErrorResolver
        Parameters:
        errorId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfo
      • get

        public void get​(java.lang.String errorId,
                        com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback)
        Description copied from interface: ErrorResolver
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface ErrorResolver
        Parameters:
        errorId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String errorId,
                        com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfo> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ErrorResolver
        Returns some metadata about the given error_id. This includes information of whether there is a resolver present for the given error_id and its associated user input data

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfo

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface ErrorResolver
        Parameters:
        errorId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public ErrorResolverInfoList list()
        Description copied from interface: ErrorResolver
        Returns a list of metadata for all the error resolvers registered.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface ErrorResolver
        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfoList
      • list

        public ErrorResolverInfoList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ErrorResolver
        Returns a list of metadata for all the error resolvers registered.

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        list in interface ErrorResolver
        Parameters:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ErrorResolverInfoList
      • list

        public void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback)
        Description copied from interface: ErrorResolver
        Returns a list of metadata for all the error resolvers registered.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfoList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface ErrorResolver
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(com.vmware.vapi.bindings.client.AsyncCallback<ErrorResolverInfoList> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ErrorResolver
        Returns a list of metadata for all the error resolvers registered.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.ErrorResolverInfoList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface ErrorResolver
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • resolveerror

        public void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList)
        Description copied from interface: ErrorResolver
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        resolveerror in interface ErrorResolver
        Parameters:
        errorResolverMetadataList - (required)
      • resolveerror

        public void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ErrorResolver
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        resolveerror in interface ErrorResolver
        Parameters:
        errorResolverMetadataList - (required)
        invocationConfig - Configuration for the method invocation.
      • resolveerror

        public void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList,
                                 com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: ErrorResolver
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        resolveerror in interface ErrorResolver
        Parameters:
        errorResolverMetadataList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • resolveerror

        public void resolveerror​(ErrorResolverMetadataList errorResolverMetadataList,
                                 com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ErrorResolver
        Invokes the corresponding error resolver for the given error(s) present in the payload

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        resolveerror in interface ErrorResolver
        Parameters:
        errorResolverMetadataList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.