# Interface EntitlementChangeOrBuilder (3.97.0)

3.97.0 (latest) 3.95.0 3.92.0 3.91.0 3.89.0 3.87.0 3.86.0 3.85.0 3.84.0 3.82.0 3.80.0 3.79.0 3.78.0 3.77.0 3.76.0 3.74.0 3.72.0 3.71.0 3.68.0 3.67.0 3.66.0 3.64.0 3.63.0 3.62.0 3.61.0 3.60.0 3.59.0 3.58.0 3.57.0 3.56.0 3.55.0 3.53.0 3.52.0 3.51.0 3.50.0 3.49.0 3.48.0 3.47.0 3.46.0 3.45.0 3.44.0 3.43.0 3.41.0 3.40.0 3.39.0 3.38.0 3.37.0 3.36.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.6 3.6.1 3.5.1 3.3.1

    public interface EntitlementChangeOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getActivationReason()

    public abstract EntitlementChange.ActivationReason getActivationReason()

The Entitlement's activation reason

`.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.EntitlementChange.ActivationReason` | The activationReason. |

### getActivationReasonValue()

    public abstract int getActivationReasonValue()

The Entitlement's activation reason

`.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for activationReason. |

### getCancellationReason()

    public abstract EntitlementChange.CancellationReason getCancellationReason()

Cancellation reason for the Entitlement.

`.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.EntitlementChange.CancellationReason` | The cancellationReason. |

### getCancellationReasonValue()

    public abstract int getCancellationReasonValue()

Cancellation reason for the Entitlement.

`.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for cancellationReason. |

### getChangeReasonCase()

    public abstract EntitlementChange.ChangeReasonCase getChangeReasonCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.EntitlementChange.ChangeReasonCase` |   |

### getChangeType()

    public abstract EntitlementChange.ChangeType getChangeType()

The change action type.

`.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.EntitlementChange.ChangeType` | The changeType. |

### getChangeTypeValue()

    public abstract int getChangeTypeValue()

The change action type.

`.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for changeType. |

### getCreateTime()

    public abstract Timestamp getCreateTime()

The submitted time of the change.

`.google.protobuf.Timestamp create_time = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The submitted time of the change.

`.google.protobuf.Timestamp create_time = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getEntitlement()

    public abstract String getEntitlement()

Required. Resource name of an entitlement in the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

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

### getEntitlementBytes()

    public abstract ByteString getEntitlementBytes()

Required. Resource name of an entitlement in the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

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

### getOffer()

    public abstract String getOffer()

Required. Resource name of the Offer at the time of change.
Takes the form: accounts/{account_id}/offers/{offer_id}.

`
string offer = 2 [(.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 offer. |

### getOfferBytes()

    public abstract ByteString getOfferBytes()

Required. Resource name of the Offer at the time of change.
Takes the form: accounts/{account_id}/offers/{offer_id}.

`
string offer = 2 [(.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 offer. |

### getOperator()

    public abstract String getOperator()

Human-readable identifier that shows what operator made a change.
When the operator_type is RESELLER, this is the user's email address.
For all other operator types, this is empty.

`string operator = 12;`

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

### getOperatorBytes()

    public abstract ByteString getOperatorBytes()

Human-readable identifier that shows what operator made a change.
When the operator_type is RESELLER, this is the user's email address.
For all other operator types, this is empty.

`string operator = 12;`

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

### getOperatorType()

    public abstract EntitlementChange.OperatorType getOperatorType()

Operator type responsible for the change.

`.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.EntitlementChange.OperatorType` | The operatorType. |

### getOperatorTypeValue()

    public abstract int getOperatorTypeValue()

Operator type responsible for the change.

`.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for operatorType. |

### getOtherChangeReason()

    public abstract String getOtherChangeReason()

e.g. purchase_number change reason, entered by CRS.

`string other_change_reason = 100;`

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

### getOtherChangeReasonBytes()

    public abstract ByteString getOtherChangeReasonBytes()

e.g. purchase_number change reason, entered by CRS.

`string other_change_reason = 100;`

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

### getParameters(int index)

    public abstract Parameter getParameters(int index)

Extended parameters, such as:
purchase_order_number, gcp_details;
internal_correlation_id, long_running_operation_id, order_id;
etc.

`repeated .google.cloud.channel.v1.Parameter parameters = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.Parameter` |   |

### getParametersCount()

    public abstract int getParametersCount()

Extended parameters, such as:
purchase_order_number, gcp_details;
internal_correlation_id, long_running_operation_id, order_id;
etc.

`repeated .google.cloud.channel.v1.Parameter parameters = 8;`

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

### getParametersList()

    public abstract List<Parameter> getParametersList()

Extended parameters, such as:
purchase_order_number, gcp_details;
internal_correlation_id, long_running_operation_id, order_id;
etc.

`repeated .google.cloud.channel.v1.Parameter parameters = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.Parameter>` |   |

### getParametersOrBuilder(int index)

    public abstract ParameterOrBuilder getParametersOrBuilder(int index)

Extended parameters, such as:
purchase_order_number, gcp_details;
internal_correlation_id, long_running_operation_id, order_id;
etc.

`repeated .google.cloud.channel.v1.Parameter parameters = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.ParameterOrBuilder` |   |

### getParametersOrBuilderList()

    public abstract List<? extends ParameterOrBuilder> getParametersOrBuilderList()

Extended parameters, such as:
purchase_order_number, gcp_details;
internal_correlation_id, long_running_operation_id, order_id;
etc.

`repeated .google.cloud.channel.v1.Parameter parameters = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.channel.v1.ParameterOrBuilder>` |   |

### getProvisionedService()

    public abstract ProvisionedService getProvisionedService()

Service provisioned for an Entitlement.

`.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.ProvisionedService` | The provisionedService. |

### getProvisionedServiceOrBuilder()

    public abstract ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder()

Service provisioned for an Entitlement.

`.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.ProvisionedServiceOrBuilder` |   |

### getSuspensionReason()

    public abstract Entitlement.SuspensionReason getSuspensionReason()

Suspension reason for the Entitlement.

`.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-channel/latest/com.google.cloud.channel.v1.Entitlement.SuspensionReason` | The suspensionReason. |

### getSuspensionReasonValue()

    public abstract int getSuspensionReasonValue()

Suspension reason for the Entitlement.

`.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for suspensionReason. |

### hasActivationReason()

    public abstract boolean hasActivationReason()

The Entitlement's activation reason

`.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;
`

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

### hasCancellationReason()

    public abstract boolean hasCancellationReason()

Cancellation reason for the Entitlement.

`.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;
`

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

### hasCreateTime()

    public abstract boolean hasCreateTime()

The submitted time of the change.

`.google.protobuf.Timestamp create_time = 5;`

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

### hasOtherChangeReason()

    public abstract boolean hasOtherChangeReason()

e.g. purchase_number change reason, entered by CRS.

`string other_change_reason = 100;`

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

### hasProvisionedService()

    public abstract boolean hasProvisionedService()

Service provisioned for an Entitlement.

`.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;`

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

### hasSuspensionReason()

    public abstract boolean hasSuspensionReason()

Suspension reason for the Entitlement.

`.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;`

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