public static final class SubscriberEvent.Builder extends GeneratedMessageV3.Builder<SubscriberEvent.Builder> implements SubscriberEventOrBuilder
Represents information which resellers will get as part of notification from
Pub/Sub.
Protobuf type google.cloud.channel.v1.SubscriberEvent
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubscriberEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SubscriberEvent build()
Returns
buildPartial()
public SubscriberEvent buildPartial()
Returns
clear()
public SubscriberEvent.Builder clear()
Returns
Overrides
clearCustomerEvent()
public SubscriberEvent.Builder clearCustomerEvent()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Returns
clearEntitlementEvent()
public SubscriberEvent.Builder clearEntitlementEvent()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Returns
clearEvent()
public SubscriberEvent.Builder clearEvent()
Returns
clearField(Descriptors.FieldDescriptor field)
public SubscriberEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubscriberEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SubscriberEvent.Builder clone()
Returns
Overrides
getCustomerEvent()
public CustomerEvent getCustomerEvent()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Returns
getCustomerEventBuilder()
public CustomerEvent.Builder getCustomerEventBuilder()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Returns
getCustomerEventOrBuilder()
public CustomerEventOrBuilder getCustomerEventOrBuilder()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Returns
getDefaultInstanceForType()
public SubscriberEvent getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntitlementEvent()
public EntitlementEvent getEntitlementEvent()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Returns
getEntitlementEventBuilder()
public EntitlementEvent.Builder getEntitlementEventBuilder()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Returns
getEntitlementEventOrBuilder()
public EntitlementEventOrBuilder getEntitlementEventOrBuilder()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Returns
getEventCase()
public SubscriberEvent.EventCase getEventCase()
Returns
hasCustomerEvent()
public boolean hasCustomerEvent()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Returns
Type | Description |
boolean | Whether the customerEvent field is set.
|
hasEntitlementEvent()
public boolean hasEntitlementEvent()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Returns
Type | Description |
boolean | Whether the entitlementEvent field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCustomerEvent(CustomerEvent value)
public SubscriberEvent.Builder mergeCustomerEvent(CustomerEvent value)
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Parameter
Returns
mergeEntitlementEvent(EntitlementEvent value)
public SubscriberEvent.Builder mergeEntitlementEvent(EntitlementEvent value)
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Parameter
Returns
mergeFrom(SubscriberEvent other)
public SubscriberEvent.Builder mergeFrom(SubscriberEvent other)
Parameter
Returns
public SubscriberEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SubscriberEvent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubscriberEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCustomerEvent(CustomerEvent value)
public SubscriberEvent.Builder setCustomerEvent(CustomerEvent value)
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Parameter
Returns
setCustomerEvent(CustomerEvent.Builder builderForValue)
public SubscriberEvent.Builder setCustomerEvent(CustomerEvent.Builder builderForValue)
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
Parameter
Returns
setEntitlementEvent(EntitlementEvent value)
public SubscriberEvent.Builder setEntitlementEvent(EntitlementEvent value)
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Parameter
Returns
setEntitlementEvent(EntitlementEvent.Builder builderForValue)
public SubscriberEvent.Builder setEntitlementEvent(EntitlementEvent.Builder builderForValue)
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SubscriberEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubscriberEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubscriberEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides