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.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.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.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.EntitlementChange.Builder
addParameters(Parameter value)
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.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.Parameter.Builder
addParametersBuilder()
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.Parameter.Builder
addParametersBuilder(int index)
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EntitlementChange
build()
EntitlementChange
buildPartial()
EntitlementChange.Builder
clear()
EntitlementChange.Builder
clearActivationReason()
The Entitlement's activation reasonEntitlementChange.Builder
clearCancellationReason()
Cancellation reason for the Entitlement.EntitlementChange.Builder
clearChangeReason()
EntitlementChange.Builder
clearChangeType()
The change action type.EntitlementChange.Builder
clearCreateTime()
The submitted time of the change.EntitlementChange.Builder
clearEntitlement()
Required.EntitlementChange.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EntitlementChange.Builder
clearOffer()
Required.EntitlementChange.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EntitlementChange.Builder
clearOperator()
Human-readable identifier that shows what operator made a change.EntitlementChange.Builder
clearOperatorType()
Operator type responsible for the change.EntitlementChange.Builder
clearOtherChangeReason()
e.g.EntitlementChange.Builder
clearParameters()
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.Builder
clearProvisionedService()
Service provisioned for an Entitlement.EntitlementChange.Builder
clearSuspensionReason()
Suspension reason for the Entitlement.EntitlementChange.Builder
clone()
EntitlementChange.ActivationReason
getActivationReason()
The Entitlement's activation reasonint
getActivationReasonValue()
The Entitlement's activation reasonEntitlementChange.CancellationReason
getCancellationReason()
Cancellation reason for the Entitlement.int
getCancellationReasonValue()
Cancellation reason for the Entitlement.EntitlementChange.ChangeReasonCase
getChangeReasonCase()
EntitlementChange.ChangeType
getChangeType()
The change action type.int
getChangeTypeValue()
The change action type.com.google.protobuf.Timestamp
getCreateTime()
The submitted time of the change.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
The submitted time of the change.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
The submitted time of the change.EntitlementChange
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEntitlement()
Required.com.google.protobuf.ByteString
getEntitlementBytes()
Required.String
getOffer()
Required.com.google.protobuf.ByteString
getOfferBytes()
Required.String
getOperator()
Human-readable identifier that shows what operator made a change.com.google.protobuf.ByteString
getOperatorBytes()
Human-readable identifier that shows what operator made a change.EntitlementChange.OperatorType
getOperatorType()
Operator type responsible for the change.int
getOperatorTypeValue()
Operator type responsible for the change.String
getOtherChangeReason()
e.g.com.google.protobuf.ByteString
getOtherChangeReasonBytes()
e.g.Parameter
getParameters(int index)
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.Parameter.Builder
getParametersBuilder(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.int
getParametersCount()
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.ParameterOrBuilder
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>
getParametersOrBuilderList()
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.ProvisionedService
getProvisionedService()
Service provisioned for an Entitlement.ProvisionedService.Builder
getProvisionedServiceBuilder()
Service provisioned for an Entitlement.ProvisionedServiceOrBuilder
getProvisionedServiceOrBuilder()
Service provisioned for an Entitlement.Entitlement.SuspensionReason
getSuspensionReason()
Suspension reason for the Entitlement.int
getSuspensionReasonValue()
Suspension reason for the Entitlement.boolean
hasActivationReason()
The Entitlement's activation reasonboolean
hasCancellationReason()
Cancellation reason for the Entitlement.boolean
hasCreateTime()
The submitted time of the change.boolean
hasOtherChangeReason()
e.g.boolean
hasProvisionedService()
Service provisioned for an Entitlement.boolean
hasSuspensionReason()
Suspension reason for the Entitlement.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EntitlementChange.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
The submitted time of the change.EntitlementChange.Builder
mergeFrom(EntitlementChange other)
EntitlementChange.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EntitlementChange.Builder
mergeFrom(com.google.protobuf.Message other)
EntitlementChange.Builder
mergeProvisionedService(ProvisionedService value)
Service provisioned for an Entitlement.EntitlementChange.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EntitlementChange.Builder
removeParameters(int index)
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.EntitlementChange.Builder
setActivationReason(EntitlementChange.ActivationReason value)
The Entitlement's activation reasonEntitlementChange.Builder
setActivationReasonValue(int value)
The Entitlement's activation reasonEntitlementChange.Builder
setCancellationReason(EntitlementChange.CancellationReason value)
Cancellation reason for the Entitlement.EntitlementChange.Builder
setCancellationReasonValue(int value)
Cancellation reason for the Entitlement.EntitlementChange.Builder
setChangeType(EntitlementChange.ChangeType value)
The change action type.EntitlementChange.Builder
setChangeTypeValue(int value)
The change action type.EntitlementChange.Builder
setCreateTime(com.google.protobuf.Timestamp value)
The submitted time of the change.EntitlementChange.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The submitted time of the change.EntitlementChange.Builder
setEntitlement(String value)
Required.EntitlementChange.Builder
setEntitlementBytes(com.google.protobuf.ByteString value)
Required.EntitlementChange.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
EntitlementChange.Builder
setOffer(String value)
Required.EntitlementChange.Builder
setOfferBytes(com.google.protobuf.ByteString value)
Required.EntitlementChange.Builder
setOperator(String value)
Human-readable identifier that shows what operator made a change.EntitlementChange.Builder
setOperatorBytes(com.google.protobuf.ByteString value)
Human-readable identifier that shows what operator made a change.EntitlementChange.Builder
setOperatorType(EntitlementChange.OperatorType value)
Operator type responsible for the change.EntitlementChange.Builder
setOperatorTypeValue(int value)
Operator type responsible for the change.EntitlementChange.Builder
setOtherChangeReason(String value)
e.g.EntitlementChange.Builder
setOtherChangeReasonBytes(com.google.protobuf.ByteString value)
e.g.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.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.EntitlementChange.Builder
setProvisionedService(ProvisionedService value)
Service provisioned for an Entitlement.EntitlementChange.Builder
setProvisionedService(ProvisionedService.Builder builderForValue)
Service provisioned for an Entitlement.EntitlementChange.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
EntitlementChange.Builder
setSuspensionReason(Entitlement.SuspensionReason value)
Suspension reason for the Entitlement.EntitlementChange.Builder
setSuspensionReasonValue(int value)
Suspension reason for the Entitlement.EntitlementChange.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
clear
public EntitlementChange.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
getDefaultInstanceForType
public EntitlementChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EntitlementChange build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EntitlementChange buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EntitlementChange.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
setField
public EntitlementChange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
clearField
public EntitlementChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
clearOneof
public EntitlementChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
setRepeatedField
public EntitlementChange.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
addRepeatedField
public EntitlementChange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
mergeFrom
public EntitlementChange.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EntitlementChange.Builder>
-
mergeFrom
public EntitlementChange.Builder mergeFrom(EntitlementChange other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EntitlementChange.Builder>
- Throws:
IOException
-
getChangeReasonCase
public EntitlementChange.ChangeReasonCase getChangeReasonCase()
- Specified by:
getChangeReasonCase
in 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:
hasSuspensionReason
in 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:
getSuspensionReasonValue
in 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:
getSuspensionReason
in 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:
hasCancellationReason
in 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:
getCancellationReasonValue
in 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:
getCancellationReason
in 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:
hasActivationReason
in 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:
getActivationReasonValue
in 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:
getActivationReason
in 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:
hasOtherChangeReason
in 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:
getOtherChangeReason
in 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:
getOtherChangeReasonBytes
in 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:
getEntitlement
in 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:
getEntitlementBytes
in 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:
getOffer
in 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:
getOfferBytes
in 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:
hasProvisionedService
in 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:
getProvisionedService
in 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:
getProvisionedServiceOrBuilder
in interfaceEntitlementChangeOrBuilder
-
getChangeTypeValue
public int getChangeTypeValue()
The change action type.
.google.cloud.channel.v1.EntitlementChange.ChangeType change_type = 4;
- Specified by:
getChangeTypeValue
in 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:
getChangeType
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceEntitlementChangeOrBuilder
-
getOperatorTypeValue
public int getOperatorTypeValue()
Operator type responsible for the change.
.google.cloud.channel.v1.EntitlementChange.OperatorType operator_type = 6;
- Specified by:
getOperatorTypeValue
in 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:
getOperatorType
in 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:
getParametersList
in 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:
getParametersCount
in 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:
getParameters
in 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:
getParametersOrBuilder
in 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:
getParametersOrBuilderList
in 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:
getOperator
in 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:
getOperatorBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
mergeUnknownFields
public final EntitlementChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EntitlementChange.Builder>
-
-