Send feedback
Class SubscriberEvent.Builder (3.37.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.37.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]