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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubscriberEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SubscriberEvent build()
buildPartial()
public SubscriberEvent buildPartial()
clear()
public SubscriberEvent.Builder clear()
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;
clearEntitlementEvent()
public SubscriberEvent.Builder clearEntitlementEvent()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
clearEvent()
public SubscriberEvent.Builder clearEvent()
clearField(Descriptors.FieldDescriptor field)
public SubscriberEvent.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubscriberEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SubscriberEvent.Builder clone()
Overrides
getCustomerEvent()
public CustomerEvent getCustomerEvent()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
getCustomerEventBuilder()
public CustomerEvent.Builder getCustomerEventBuilder()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
getCustomerEventOrBuilder()
public CustomerEventOrBuilder getCustomerEventOrBuilder()
Customer event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.CustomerEvent customer_event = 1;
getDefaultInstanceForType()
public SubscriberEvent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntitlementEvent()
public EntitlementEvent getEntitlementEvent()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
getEntitlementEventBuilder()
public EntitlementEvent.Builder getEntitlementEventBuilder()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
getEntitlementEventOrBuilder()
public EntitlementEventOrBuilder getEntitlementEventOrBuilder()
Entitlement event sent as part of Pub/Sub event to partners.
.google.cloud.channel.v1.EntitlementEvent entitlement_event = 2;
getEventCase()
public SubscriberEvent.EventCase getEventCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
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;
mergeFrom(SubscriberEvent other)
public SubscriberEvent.Builder mergeFrom(SubscriberEvent other)
public SubscriberEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SubscriberEvent.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubscriberEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public SubscriberEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubscriberEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubscriberEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides