# Class SessionServiceGrpc (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public final class SessionServiceGrpc

Session service provides APIs for interacting with CES agents.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> SessionServiceGrpc

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Fields

### SERVICE_NAME

    public static final String SERVICE_NAME

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

## Static Methods

### bindService(SessionServiceGrpc.AsyncService service)

    public static final ServerServiceDefinition bindService(SessionServiceGrpc.AsyncService service)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `service` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.SessionServiceGrpc.AsyncService` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.ServerServiceDefinition` |   |

### getBidiRunSessionMethod()

    public static MethodDescriptor<BidiSessionClientMessage,BidiSessionServerMessage> getBidiRunSessionMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.BidiSessionClientMessage,https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.BidiSessionServerMessage>` |   |

### getRunSessionMethod()

    public static MethodDescriptor<RunSessionRequest,RunSessionResponse> getRunSessionMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.RunSessionRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.RunSessionResponse>` |   |

### getServiceDescriptor()

    public static ServiceDescriptor getServiceDescriptor()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.ServiceDescriptor` |   |

### getStreamRunSessionMethod()

    public static MethodDescriptor<RunSessionRequest,RunSessionResponse> getStreamRunSessionMethod()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `io.grpc.MethodDescriptor<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.RunSessionRequest,https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.RunSessionResponse>` |   |

### newBlockingStub(Channel channel)

    public static SessionServiceGrpc.SessionServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.SessionServiceGrpc.SessionServiceBlockingStub` |   |

### newBlockingV2Stub(Channel channel)

    public static SessionServiceGrpc.SessionServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.SessionServiceGrpc.SessionServiceBlockingV2Stub` |   |

### newFutureStub(Channel channel)

    public static SessionServiceGrpc.SessionServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.SessionServiceGrpc.SessionServiceFutureStub` |   |

### newStub(Channel channel)

    public static SessionServiceGrpc.SessionServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `io.grpc.Channel` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.SessionServiceGrpc.SessionServiceStub` |   |