Package com.google.cloud.channel.v1
Class EntitlementChange.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
- com.google.cloud.channel.v1.EntitlementChange.Builder
-
- All Implemented Interfaces:
EntitlementChangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EntitlementChange
public static final class EntitlementChange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder> implements EntitlementChangeOrBuilder
Change event entry for Entitlement order history
Protobuf typegoogle.cloud.channel.v1.EntitlementChange
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntitlementChange.BuilderaddAllParameters(Iterable<? extends Parameter> values)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuilderaddParameters(int index, Parameter value)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuilderaddParameters(int index, Parameter.Builder builderForValue)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuilderaddParameters(Parameter value)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuilderaddParameters(Parameter.Builder builderForValue)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.Parameter.BuilderaddParametersBuilder()Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.Parameter.BuilderaddParametersBuilder(int index)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EntitlementChangebuild()EntitlementChangebuildPartial()EntitlementChange.Builderclear()EntitlementChange.BuilderclearActivationReason()The Entitlement's activation reasonEntitlementChange.BuilderclearCancellationReason()Cancellation reason for the Entitlement.EntitlementChange.BuilderclearChangeReason()EntitlementChange.BuilderclearChangeType()The change action type.EntitlementChange.BuilderclearCreateTime()The submitted time of the change.EntitlementChange.BuilderclearEntitlement()Required.EntitlementChange.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)EntitlementChange.BuilderclearOffer()Required.EntitlementChange.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)EntitlementChange.BuilderclearOperator()Human-readable identifier that shows what operator made a change.EntitlementChange.BuilderclearOperatorType()Operator type responsible for the change.EntitlementChange.BuilderclearOtherChangeReason()e.g.EntitlementChange.BuilderclearParameters()Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuilderclearProvisionedService()Service provisioned for an Entitlement.EntitlementChange.BuilderclearSuspensionReason()Suspension reason for the Entitlement.EntitlementChange.Builderclone()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.Timestamp.BuildergetCreateTimeBuilder()The submitted time of the change.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The submitted time of the change.EntitlementChangegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.Parameter.BuildergetParametersBuilder(int index)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.List<Parameter.Builder>getParametersBuilderList()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.ProvisionedService.BuildergetProvisionedServiceBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()EntitlementChange.BuildermergeCreateTime(com.google.protobuf.Timestamp value)The submitted time of the change.EntitlementChange.BuildermergeFrom(EntitlementChange other)EntitlementChange.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)EntitlementChange.BuildermergeFrom(com.google.protobuf.Message other)EntitlementChange.BuildermergeProvisionedService(ProvisionedService value)Service provisioned for an Entitlement.EntitlementChange.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EntitlementChange.BuilderremoveParameters(int index)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuildersetActivationReason(EntitlementChange.ActivationReason value)The Entitlement's activation reasonEntitlementChange.BuildersetActivationReasonValue(int value)The Entitlement's activation reasonEntitlementChange.BuildersetCancellationReason(EntitlementChange.CancellationReason value)Cancellation reason for the Entitlement.EntitlementChange.BuildersetCancellationReasonValue(int value)Cancellation reason for the Entitlement.EntitlementChange.BuildersetChangeType(EntitlementChange.ChangeType value)The change action type.EntitlementChange.BuildersetChangeTypeValue(int value)The change action type.EntitlementChange.BuildersetCreateTime(com.google.protobuf.Timestamp value)The submitted time of the change.EntitlementChange.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)The submitted time of the change.EntitlementChange.BuildersetEntitlement(String value)Required.EntitlementChange.BuildersetEntitlementBytes(com.google.protobuf.ByteString value)Required.EntitlementChange.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EntitlementChange.BuildersetOffer(String value)Required.EntitlementChange.BuildersetOfferBytes(com.google.protobuf.ByteString value)Required.EntitlementChange.BuildersetOperator(String value)Human-readable identifier that shows what operator made a change.EntitlementChange.BuildersetOperatorBytes(com.google.protobuf.ByteString value)Human-readable identifier that shows what operator made a change.EntitlementChange.BuildersetOperatorType(EntitlementChange.OperatorType value)Operator type responsible for the change.EntitlementChange.BuildersetOperatorTypeValue(int value)Operator type responsible for the change.EntitlementChange.BuildersetOtherChangeReason(String value)e.g.EntitlementChange.BuildersetOtherChangeReasonBytes(com.google.protobuf.ByteString value)e.g.EntitlementChange.BuildersetParameters(int index, Parameter value)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuildersetParameters(int index, Parameter.Builder builderForValue)Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.BuildersetProvisionedService(ProvisionedService value)Service provisioned for an Entitlement.EntitlementChange.BuildersetProvisionedService(ProvisionedService.Builder builderForValue)Service provisioned for an Entitlement.EntitlementChange.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)EntitlementChange.BuildersetSuspensionReason(Entitlement.SuspensionReason value)Suspension reason for the Entitlement.EntitlementChange.BuildersetSuspensionReasonValue(int value)Suspension reason for the Entitlement.EntitlementChange.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
clear
public EntitlementChange.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
getDefaultInstanceForType
public EntitlementChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EntitlementChange build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EntitlementChange buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EntitlementChange.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
setField
public EntitlementChange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
clearField
public EntitlementChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
clearOneof
public EntitlementChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
setRepeatedField
public EntitlementChange.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
addRepeatedField
public EntitlementChange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
mergeFrom
public EntitlementChange.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EntitlementChange.Builder>
-
mergeFrom
public EntitlementChange.Builder mergeFrom(EntitlementChange other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
mergeFrom
public EntitlementChange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EntitlementChange.Builder>- Throws:
IOException
-
getChangeReasonCase
public EntitlementChange.ChangeReasonCase getChangeReasonCase()
- Specified by:
getChangeReasonCasein interfaceEntitlementChangeOrBuilder
-
clearChangeReason
public EntitlementChange.Builder clearChangeReason()
-
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.
-
setSuspensionReasonValue
public EntitlementChange.Builder setSuspensionReasonValue(int value)
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Parameters:
value- The enum numeric value on the wire for suspensionReason to set.- Returns:
- This builder for chaining.
-
getSuspensionReason
public Entitlement.SuspensionReason getSuspensionReason()
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Specified by:
getSuspensionReasonin interfaceEntitlementChangeOrBuilder- Returns:
- The suspensionReason.
-
setSuspensionReason
public EntitlementChange.Builder setSuspensionReason(Entitlement.SuspensionReason value)
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Parameters:
value- The suspensionReason to set.- Returns:
- This builder for chaining.
-
clearSuspensionReason
public EntitlementChange.Builder clearSuspensionReason()
Suspension reason for the Entitlement.
.google.cloud.channel.v1.Entitlement.SuspensionReason suspension_reason = 9;- Returns:
- This builder for chaining.
-
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.
-
setCancellationReasonValue
public EntitlementChange.Builder setCancellationReasonValue(int value)
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Parameters:
value- The enum numeric value on the wire for cancellationReason to set.- Returns:
- This builder for chaining.
-
getCancellationReason
public EntitlementChange.CancellationReason getCancellationReason()
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Specified by:
getCancellationReasonin interfaceEntitlementChangeOrBuilder- Returns:
- The cancellationReason.
-
setCancellationReason
public EntitlementChange.Builder setCancellationReason(EntitlementChange.CancellationReason value)
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Parameters:
value- The cancellationReason to set.- Returns:
- This builder for chaining.
-
clearCancellationReason
public EntitlementChange.Builder clearCancellationReason()
Cancellation reason for the Entitlement.
.google.cloud.channel.v1.EntitlementChange.CancellationReason cancellation_reason = 10;- Returns:
- This builder for chaining.
-
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.
-
setActivationReasonValue
public EntitlementChange.Builder setActivationReasonValue(int value)
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Parameters:
value- The enum numeric value on the wire for activationReason to set.- Returns:
- This builder for chaining.
-
getActivationReason
public EntitlementChange.ActivationReason getActivationReason()
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Specified by:
getActivationReasonin interfaceEntitlementChangeOrBuilder- Returns:
- The activationReason.
-
setActivationReason
public EntitlementChange.Builder setActivationReason(EntitlementChange.ActivationReason value)
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Parameters:
value- The activationReason to set.- Returns:
- This builder for chaining.
-
clearActivationReason
public EntitlementChange.Builder clearActivationReason()
The Entitlement's activation reason
.google.cloud.channel.v1.EntitlementChange.ActivationReason activation_reason = 11;- Returns:
- This builder for chaining.
-
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
public String 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.
-
setOtherChangeReason
public EntitlementChange.Builder setOtherChangeReason(String value)
e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Parameters:
value- The otherChangeReason to set.- Returns:
- This builder for chaining.
-
clearOtherChangeReason
public EntitlementChange.Builder clearOtherChangeReason()
e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Returns:
- This builder for chaining.
-
setOtherChangeReasonBytes
public EntitlementChange.Builder setOtherChangeReasonBytes(com.google.protobuf.ByteString value)
e.g. purchase_number change reason, entered by CRS.
string other_change_reason = 100;- Parameters:
value- The bytes for otherChangeReason to set.- Returns:
- This builder for chaining.
-
getEntitlement
public 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) = { ... }- 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.
-
setEntitlement
public EntitlementChange.Builder setEntitlement(String value)
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) = { ... }- Parameters:
value- The entitlement to set.- Returns:
- This builder for chaining.
-
clearEntitlement
public EntitlementChange.Builder clearEntitlement()
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:
- This builder for chaining.
-
setEntitlementBytes
public EntitlementChange.Builder setEntitlementBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for entitlement to set.- Returns:
- This builder for chaining.
-
getOffer
public 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) = { ... }- 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.
-
setOffer
public EntitlementChange.Builder setOffer(String value)
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) = { ... }- Parameters:
value- The offer to set.- Returns:
- This builder for chaining.
-
clearOffer
public EntitlementChange.Builder clearOffer()
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:
- This builder for chaining.
-
setOfferBytes
public EntitlementChange.Builder setOfferBytes(com.google.protobuf.ByteString value)
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) = { ... }- Parameters:
value- The bytes for offer to set.- Returns:
- This builder for chaining.
-
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
public ProvisionedService getProvisionedService()
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;- Specified by:
getProvisionedServicein interfaceEntitlementChangeOrBuilder- Returns:
- The provisionedService.
-
setProvisionedService
public EntitlementChange.Builder setProvisionedService(ProvisionedService value)
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;
-
setProvisionedService
public EntitlementChange.Builder setProvisionedService(ProvisionedService.Builder builderForValue)
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;
-
mergeProvisionedService
public EntitlementChange.Builder mergeProvisionedService(ProvisionedService value)
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;
-
clearProvisionedService
public EntitlementChange.Builder clearProvisionedService()
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;
-
getProvisionedServiceBuilder
public ProvisionedService.Builder getProvisionedServiceBuilder()
Service provisioned for an Entitlement.
.google.cloud.channel.v1.ProvisionedService provisioned_service = 3;
-
getProvisionedServiceOrBuilder
public ProvisionedServiceOrBuilder 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.
-
setChangeTypeValue
public EntitlementChange.Builder setChangeTypeValue(int value)
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Parameters:
value- The enum numeric value on the wire for changeType to set.- Returns:
- This builder for chaining.
-
getChangeType
public EntitlementChange.ChangeType getChangeType()
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Specified by:
getChangeTypein interfaceEntitlementChangeOrBuilder- Returns:
- The changeType.
-
setChangeType
public EntitlementChange.Builder setChangeType(EntitlementChange.ChangeType value)
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Parameters:
value- The changeType to set.- Returns:
- This builder for chaining.
-
clearChangeType
public EntitlementChange.Builder clearChangeType()
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public EntitlementChange.Builder setCreateTime(com.google.protobuf.Timestamp value)
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;
-
setCreateTime
public EntitlementChange.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;
-
mergeCreateTime
public EntitlementChange.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;
-
clearCreateTime
public EntitlementChange.Builder clearCreateTime()
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The submitted time of the change.
.google.protobuf.Timestamp create_time = 5;
-
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.
-
setOperatorTypeValue
public EntitlementChange.Builder setOperatorTypeValue(int value)
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Parameters:
value- The enum numeric value on the wire for operatorType to set.- Returns:
- This builder for chaining.
-
getOperatorType
public EntitlementChange.OperatorType getOperatorType()
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Specified by:
getOperatorTypein interfaceEntitlementChangeOrBuilder- Returns:
- The operatorType.
-
setOperatorType
public EntitlementChange.Builder setOperatorType(EntitlementChange.OperatorType value)
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Parameters:
value- The operatorType to set.- Returns:
- This builder for chaining.
-
clearOperatorType
public EntitlementChange.Builder clearOperatorType()
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;- Returns:
- This builder for chaining.
-
getParametersList
public 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;- Specified by:
getParametersListin 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
public 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;- Specified by:
getParametersin interfaceEntitlementChangeOrBuilder
-
setParameters
public EntitlementChange.Builder setParameters(int index, Parameter value)
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;
-
setParameters
public EntitlementChange.Builder setParameters(int index, Parameter.Builder builderForValue)
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;
-
addParameters
public EntitlementChange.Builder addParameters(Parameter value)
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;
-
addParameters
public EntitlementChange.Builder addParameters(int index, Parameter value)
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;
-
addParameters
public EntitlementChange.Builder addParameters(Parameter.Builder builderForValue)
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;
-
addParameters
public EntitlementChange.Builder addParameters(int index, Parameter.Builder builderForValue)
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;
-
addAllParameters
public EntitlementChange.Builder addAllParameters(Iterable<? extends Parameter> values)
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;
-
clearParameters
public EntitlementChange.Builder clearParameters()
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;
-
removeParameters
public EntitlementChange.Builder removeParameters(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;
-
getParametersBuilder
public Parameter.Builder getParametersBuilder(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;
-
getParametersOrBuilder
public 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;- Specified by:
getParametersOrBuilderin interfaceEntitlementChangeOrBuilder
-
getParametersOrBuilderList
public 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;- Specified by:
getParametersOrBuilderListin interfaceEntitlementChangeOrBuilder
-
addParametersBuilder
public Parameter.Builder addParametersBuilder()
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;
-
addParametersBuilder
public Parameter.Builder addParametersBuilder(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;
-
getParametersBuilderList
public List<Parameter.Builder> getParametersBuilderList()
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
public 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;- 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.
-
setOperator
public EntitlementChange.Builder setOperator(String value)
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;- Parameters:
value- The operator to set.- Returns:
- This builder for chaining.
-
clearOperator
public EntitlementChange.Builder clearOperator()
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:
- This builder for chaining.
-
setOperatorBytes
public EntitlementChange.Builder setOperatorBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for operator to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EntitlementChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
mergeUnknownFields
public final EntitlementChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
-