# Interface GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig.OperationGenerationConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface GenerateAppResourceRequest.ToolGenerationConfig.OpenApiToolsetGenerationConfig.OperationGenerationConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getMethod()

    public abstract String getMethod()

Required. The uri of the tool. This should include query and path
parameters if any.

`string method = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getMethodBytes()

    public abstract ByteString getMethodBytes()

Required. The uri of the tool. This should include query and path
parameters if any.

`string method = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for method. |

### getPath()

    public abstract String getPath()

Required. The path of the tool to be appended to the base uri. This
should include query and path parameters if any.

`string path = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getPathBytes()

    public abstract ByteString getPathBytes()

Required. The path of the tool to be appended to the base uri. This
should include query and path parameters if any.

`string path = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for path. |

### getRequestJson()

    public abstract String getRequestJson()

Required. A sample request to the tool in JSON format. Skip if the
tool does not support request body.

`string request_json = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### getRequestJsonBytes()

    public abstract ByteString getRequestJsonBytes()

Required. A sample request to the tool in JSON format. Skip if the
tool does not support request body.

`string request_json = 3 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for requestJson. |

### getResponseJson()

    public abstract String getResponseJson()

Required. A sample response from the tool in JSON format.

`string response_json = 4 [(.google.api.field_behavior) = REQUIRED];`

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

### getResponseJsonBytes()

    public abstract ByteString getResponseJsonBytes()

Required. A sample response from the tool in JSON format.

`string response_json = 4 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for responseJson. |