Package com.google.cloud.channel.v1
Class EntitlementChange
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.channel.v1.EntitlementChange
- All Implemented Interfaces:
EntitlementChangeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EntitlementChange
extends com.google.protobuf.GeneratedMessage
implements EntitlementChangeOrBuilder
Change event entry for Entitlement order historyProtobuf type
google.cloud.channel.v1.EntitlementChange- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Entitlement's activation reasonstatic final classChange event entry for Entitlement order historystatic enumCancellation reason for the entitlementstatic enumstatic enumSpecifies the type of change actionstatic enumSpecifies the type of operator responsible for the changeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Entitlement's activation reasonintThe Entitlement's activation reasonCancellation reason for the Entitlement.intCancellation reason for the Entitlement.The change action type.intThe change action type.com.google.protobuf.TimestampThe submitted time of the change.com.google.protobuf.TimestampOrBuilderThe submitted time of the change.static EntitlementChangestatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getOffer()Required.com.google.protobuf.ByteStringRequired.Human-readable identifier that shows what operator made a change.com.google.protobuf.ByteStringHuman-readable identifier that shows what operator made a change.Operator type responsible for the change.intOperator type responsible for the change.e.g. purchase_number change reason, entered by CRS.com.google.protobuf.ByteStringe.g. purchase_number change reason, entered by CRS.getParameters(int index) Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.intExtended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.getParametersOrBuilder(int index) Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.List<? extends ParameterOrBuilder>Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.com.google.protobuf.Parser<EntitlementChange>Service provisioned for an Entitlement.Service provisioned for an Entitlement.intSuspension reason for the Entitlement.intSuspension reason for the Entitlement.booleanThe Entitlement's activation reasonbooleanCancellation reason for the Entitlement.booleanThe submitted time of the change.inthashCode()booleane.g. purchase_number change reason, entered by CRS.booleanService provisioned for an Entitlement.booleanSuspension reason for the Entitlement.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic EntitlementChange.Builderstatic EntitlementChange.BuildernewBuilder(EntitlementChange prototype) protected EntitlementChange.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EntitlementChangeparseDelimitedFrom(InputStream input) static EntitlementChangeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntitlementChangeparseFrom(byte[] data) static EntitlementChangeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntitlementChangeparseFrom(com.google.protobuf.ByteString data) static EntitlementChangeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntitlementChangeparseFrom(com.google.protobuf.CodedInputStream input) static EntitlementChangeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntitlementChangeparseFrom(InputStream input) static EntitlementChangeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EntitlementChangeparseFrom(ByteBuffer data) static EntitlementChangeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EntitlementChange>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SUSPENSION_REASON_FIELD_NUMBER
public static final int SUSPENSION_REASON_FIELD_NUMBER- See Also:
-
CANCELLATION_REASON_FIELD_NUMBER
public static final int CANCELLATION_REASON_FIELD_NUMBER- See Also:
-
ACTIVATION_REASON_FIELD_NUMBER
public static final int ACTIVATION_REASON_FIELD_NUMBER- See Also:
-
OTHER_CHANGE_REASON_FIELD_NUMBER
public static final int OTHER_CHANGE_REASON_FIELD_NUMBER- See Also:
-
ENTITLEMENT_FIELD_NUMBER
public static final int ENTITLEMENT_FIELD_NUMBER- See Also:
-
OFFER_FIELD_NUMBER
public static final int OFFER_FIELD_NUMBER- See Also:
-
PROVISIONED_SERVICE_FIELD_NUMBER
public static final int PROVISIONED_SERVICE_FIELD_NUMBER- See Also:
-
CHANGE_TYPE_FIELD_NUMBER
public static final int CHANGE_TYPE_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
OPERATOR_TYPE_FIELD_NUMBER
public static final int OPERATOR_TYPE_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
OPERATOR_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getChangeReasonCase
- Specified by:
getChangeReasonCasein interfaceEntitlementChangeOrBuilder
-
hasSuspensionReason
public boolean hasSuspensionReason()Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Specified by:
hasSuspensionReasonin interfaceEntitlementChangeOrBuilder- Returns:
- Whether the suspensionReason field is set.
-
getSuspensionReasonValue
public int getSuspensionReasonValue()Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Specified by:
getSuspensionReasonValuein interfaceEntitlementChangeOrBuilder- Returns:
- The enum numeric value on the wire for suspensionReason.
-
getSuspensionReason
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Specified by:
getSuspensionReasonin interfaceEntitlementChangeOrBuilder- Returns:
- The suspensionReason.
-
hasCancellationReason
public boolean hasCancellationReason()Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Specified by:
hasCancellationReasonin interfaceEntitlementChangeOrBuilder- Returns:
- Whether the cancellationReason field is set.
-
getCancellationReasonValue
public int getCancellationReasonValue()Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Specified by:
getCancellationReasonValuein interfaceEntitlementChangeOrBuilder- Returns:
- The enum numeric value on the wire for cancellationReason.
-
getCancellationReason
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Specified by:
getCancellationReasonin interfaceEntitlementChangeOrBuilder- Returns:
- The cancellationReason.
-
hasActivationReason
public boolean hasActivationReason()The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Specified by:
hasActivationReasonin interfaceEntitlementChangeOrBuilder- Returns:
- Whether the activationReason field is set.
-
getActivationReasonValue
public int getActivationReasonValue()The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Specified by:
getActivationReasonValuein interfaceEntitlementChangeOrBuilder- Returns:
- The enum numeric value on the wire for activationReason.
-
getActivationReason
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Specified by:
getActivationReasonin interfaceEntitlementChangeOrBuilder- Returns:
- The activationReason.
-
hasOtherChangeReason
public boolean hasOtherChangeReason()e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Specified by:
hasOtherChangeReasonin interfaceEntitlementChangeOrBuilder- Returns:
- Whether the otherChangeReason field is set.
-
getOtherChangeReason
e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Specified by:
getOtherChangeReasonin interfaceEntitlementChangeOrBuilder- Returns:
- The otherChangeReason.
-
getOtherChangeReasonBytes
public com.google.protobuf.ByteString getOtherChangeReasonBytes()e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Specified by:
getOtherChangeReasonBytesin interfaceEntitlementChangeOrBuilder- Returns:
- The bytes for otherChangeReason.
-
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) = { ... }- Specified by:
getEntitlementin interfaceEntitlementChangeOrBuilder- Returns:
- The entitlement.
-
getEntitlementBytes
public 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) = { ... }- Specified by:
getEntitlementBytesin interfaceEntitlementChangeOrBuilder- Returns:
- The bytes for entitlement.
-
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) = { ... }- Specified by:
getOfferin interfaceEntitlementChangeOrBuilder- Returns:
- The offer.
-
getOfferBytes
public 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) = { ... }- Specified by:
getOfferBytesin interfaceEntitlementChangeOrBuilder- Returns:
- The bytes for offer.
-
hasProvisionedService
public boolean hasProvisionedService()Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;- Specified by:
hasProvisionedServicein interfaceEntitlementChangeOrBuilder- Returns:
- Whether the provisionedService field is set.
-
getProvisionedService
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;- Specified by:
getProvisionedServicein interfaceEntitlementChangeOrBuilder- Returns:
- The provisionedService.
-
getProvisionedServiceOrBuilder
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;- Specified by:
getProvisionedServiceOrBuilderin interfaceEntitlementChangeOrBuilder
-
getChangeTypeValue
public int getChangeTypeValue()The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Specified by:
getChangeTypeValuein interfaceEntitlementChangeOrBuilder- Returns:
- The enum numeric value on the wire for changeType.
-
getChangeType
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Specified by:
getChangeTypein interfaceEntitlementChangeOrBuilder- Returns:
- The changeType.
-
hasCreateTime
public boolean hasCreateTime()The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;- Specified by:
hasCreateTimein interfaceEntitlementChangeOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimein interfaceEntitlementChangeOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimeOrBuilderin interfaceEntitlementChangeOrBuilder
-
getOperatorTypeValue
public int getOperatorTypeValue()Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Specified by:
getOperatorTypeValuein interfaceEntitlementChangeOrBuilder- Returns:
- The enum numeric value on the wire for operatorType.
-
getOperatorType
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Specified by:
getOperatorTypein interfaceEntitlementChangeOrBuilder- Returns:
- The operatorType.
-
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;- Specified by:
getParametersListin interfaceEntitlementChangeOrBuilder
-
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;- Specified by:
getParametersOrBuilderListin interfaceEntitlementChangeOrBuilder
-
getParametersCount
public 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;- Specified by:
getParametersCountin interfaceEntitlementChangeOrBuilder
-
getParameters
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;- Specified by:
getParametersin interfaceEntitlementChangeOrBuilder
-
getParametersOrBuilder
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;- Specified by:
getParametersOrBuilderin interfaceEntitlementChangeOrBuilder
-
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;- Specified by:
getOperatorin interfaceEntitlementChangeOrBuilder- Returns:
- The operator.
-
getOperatorBytes
public 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;- Specified by:
getOperatorBytesin interfaceEntitlementChangeOrBuilder- Returns:
- The bytes for operator.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EntitlementChange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntitlementChange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntitlementChange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntitlementChange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntitlementChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EntitlementChange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EntitlementChange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EntitlementChange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EntitlementChange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EntitlementChange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EntitlementChange.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-