Package com.google.cloud.channel.v1
Interface EntitlementChangeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EntitlementChange,EntitlementChange.Builder
public interface EntitlementChangeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntitlementChange.ActivationReasongetActivationReason()The Entitlement's activation reasonintgetActivationReasonValue()The Entitlement's activation reasonEntitlementChange.CancellationReasongetCancellationReason()Cancellation reason for the Entitlement.intgetCancellationReasonValue()Cancellation reason for the Entitlement.EntitlementChange.ChangeReasonCasegetChangeReasonCase()EntitlementChange.ChangeTypegetChangeType()The change action type.intgetChangeTypeValue()The change action type.com.google.protobuf.TimestampgetCreateTime()The submitted time of the change.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The submitted time of the change.StringgetEntitlement()Required.com.google.protobuf.ByteStringgetEntitlementBytes()Required.StringgetOffer()Required.com.google.protobuf.ByteStringgetOfferBytes()Required.StringgetOperator()Human-readable identifier that shows what operator made a change.com.google.protobuf.ByteStringgetOperatorBytes()Human-readable identifier that shows what operator made a change.EntitlementChange.OperatorTypegetOperatorType()Operator type responsible for the change.intgetOperatorTypeValue()Operator type responsible for the change.StringgetOtherChangeReason()e.g.com.google.protobuf.ByteStringgetOtherChangeReasonBytes()e.g.ParametergetParameters(int index)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.intgetParametersCount()Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.List<Parameter>getParametersList()Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.ParameterOrBuildergetParametersOrBuilder(int index)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.List<? extends ParameterOrBuilder>getParametersOrBuilderList()Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.ProvisionedServicegetProvisionedService()Service provisioned for an Entitlement.ProvisionedServiceOrBuildergetProvisionedServiceOrBuilder()Service provisioned for an Entitlement.Entitlement.SuspensionReasongetSuspensionReason()Suspension reason for the Entitlement.intgetSuspensionReasonValue()Suspension reason for the Entitlement.booleanhasActivationReason()The Entitlement's activation reasonbooleanhasCancellationReason()Cancellation reason for the Entitlement.booleanhasCreateTime()The submitted time of the change.booleanhasOtherChangeReason()e.g.booleanhasProvisionedService()Service provisioned for an Entitlement.booleanhasSuspensionReason()Suspension reason for the Entitlement.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSuspensionReason
boolean hasSuspensionReason()
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Returns:
- Whether the suspensionReason field is set.
-
getSuspensionReasonValue
int getSuspensionReasonValue()
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Returns:
- The enum numeric value on the wire for suspensionReason.
-
getSuspensionReason
Entitlement.SuspensionReason getSuspensionReason()
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Returns:
- The suspensionReason.
-
hasCancellationReason
boolean hasCancellationReason()
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Returns:
- Whether the cancellationReason field is set.
-
getCancellationReasonValue
int getCancellationReasonValue()
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Returns:
- The enum numeric value on the wire for cancellationReason.
-
getCancellationReason
EntitlementChange.CancellationReason getCancellationReason()
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Returns:
- The cancellationReason.
-
hasActivationReason
boolean hasActivationReason()
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Returns:
- Whether the activationReason field is set.
-
getActivationReasonValue
int getActivationReasonValue()
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Returns:
- The enum numeric value on the wire for activationReason.
-
getActivationReason
EntitlementChange.ActivationReason getActivationReason()
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Returns:
- The activationReason.
-
hasOtherChangeReason
boolean hasOtherChangeReason()
e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Returns:
- Whether the otherChangeReason field is set.
-
getOtherChangeReason
String getOtherChangeReason()
e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Returns:
- The otherChangeReason.
-
getOtherChangeReasonBytes
com.google.protobuf.ByteString getOtherChangeReasonBytes()
e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Returns:
- The bytes for otherChangeReason.
-
getEntitlement
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:
- The entitlement.
-
getEntitlementBytes
com.google.protobuf.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:
- The bytes for entitlement.
-
getOffer
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:
- The offer.
-
getOfferBytes
com.google.protobuf.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:
- The bytes for offer.
-
hasProvisionedService
boolean hasProvisionedService()
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;- Returns:
- Whether the provisionedService field is set.
-
getProvisionedService
ProvisionedService getProvisionedService()
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;- Returns:
- The provisionedService.
-
getProvisionedServiceOrBuilder
ProvisionedServiceOrBuilder getProvisionedServiceOrBuilder()
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;
-
getChangeTypeValue
int getChangeTypeValue()
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Returns:
- The enum numeric value on the wire for changeType.
-
getChangeType
EntitlementChange.ChangeType getChangeType()
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Returns:
- The changeType.
-
hasCreateTime
boolean hasCreateTime()
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;
-
getOperatorTypeValue
int getOperatorTypeValue()
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Returns:
- The enum numeric value on the wire for operatorType.
-
getOperatorType
EntitlementChange.OperatorType getOperatorType()
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Returns:
- The operatorType.
-
getParametersList
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;
-
getParameters
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;
-
getParametersCount
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;
-
getParametersOrBuilderList
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;
-
getParametersOrBuilder
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;
-
getOperator
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:
- The operator.
-
getOperatorBytes
com.google.protobuf.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:
- The bytes for operator.
-
getChangeReasonCase
EntitlementChange.ChangeReasonCase getChangeReasonCase()
-
-