# Interface GetFrameworkRequestOrBuilder (0.20.0)

0.20.0 (latest) 0.18.0 0.15.0 0.14.0 0.12.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.3.0 0.2.0 0.1.0

    public interface GetFrameworkRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getMajorRevisionId()

    public abstract long getMajorRevisionId()

Optional. The framework major version to retrieve. If not specified, the
most recently updated `revision_id` is retrieved.

`int64 major_revision_id = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The majorRevisionId. |

### getName()

    public abstract String getName()

Required. The name of the framework to retrieve, in one of the following
formats:
`organizations/{organization}/locations/{location}/frameworks/{framework}`
or
`projects/{project}/locations/{location}/frameworks/{framework}`.

The only supported location is `global`.

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Required. The name of the framework to retrieve, in one of the following
formats:
`organizations/{organization}/locations/{location}/frameworks/{framework}`
or
`projects/{project}/locations/{location}/frameworks/{framework}`.

The only supported location is `global`.

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

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