Send feedback
Class SubscriberEvent.Builder (3.7.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.7.6 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.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 ()
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
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-28 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-28 UTC."],[],[]]