# Interface FrameworkReferenceOrBuilder (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 FrameworkReferenceOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getFramework()

    public abstract String getFramework()

Required. The major version of the framework. If not specified, the version
corresponds to the latest version of the framework.

`
string framework = 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 framework. |

### getFrameworkBytes()

    public abstract ByteString getFrameworkBytes()

Required. The major version of the framework. If not specified, the version
corresponds to the latest version of the framework.

`
string framework = 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 framework. |

### getMajorRevisionId()

    public abstract long getMajorRevisionId()

Optional. The major version of the framework. If not specified, the version
corresponds to the latest version of the framework.

`optional 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. |

### hasMajorRevisionId()

    public abstract boolean hasMajorRevisionId()

Optional. The major version of the framework. If not specified, the version
corresponds to the latest version of the framework.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the majorRevisionId field is set. |