public final class SubscriberEvent extends GeneratedMessageV3 implements SubscriberEventOrBuilder
Represents information which resellers will get as part of notification from
Pub/Sub.
Protobuf type google.cloud.channel.v1.SubscriberEvent
Static Fields
CUSTOMER_EVENT_FIELD_NUMBER
public static final int CUSTOMER_EVENT_FIELD_NUMBER
Field Value
ENTITLEMENT_EVENT_FIELD_NUMBER
public static final int ENTITLEMENT_EVENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SubscriberEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SubscriberEvent.Builder newBuilder()
Returns
newBuilder(SubscriberEvent prototype)
public static SubscriberEvent.Builder newBuilder(SubscriberEvent prototype)
Parameter
Returns
public static SubscriberEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubscriberEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SubscriberEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubscriberEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SubscriberEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubscriberEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubscriberEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SubscriberEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SubscriberEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SubscriberEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SubscriberEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubscriberEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SubscriberEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getEntitlementEvent()
public EntitlementEvent getEntitlementEvent()
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
getParserForType()
public Parser<SubscriberEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SubscriberEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubscriberEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SubscriberEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions