public final class EntitlementEvent extends GeneratedMessageV3 implements EntitlementEventOrBuilder
Represents Pub/Sub message content describing entitlement update.
Protobuf type google.cloud.channel.v1.EntitlementEvent
Fields
ENTITLEMENT_FIELD_NUMBER
public static final int ENTITLEMENT_FIELD_NUMBER
Field Value
EVENT_TYPE_FIELD_NUMBER
public static final int EVENT_TYPE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static EntitlementEvent getDefaultInstance()
Returns
getDefaultInstanceForType()
public EntitlementEvent getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getEntitlement()
public String getEntitlement()
Resource name of an entitlement of the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The entitlement.
|
getEntitlementBytes()
public ByteString getEntitlementBytes()
Resource name of an entitlement of the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for entitlement.
|
getEventType()
public EntitlementEvent.Type getEventType()
Type of event which happened on the entitlement.
.google.cloud.channel.v1.EntitlementEvent.Type event_type = 2;
Returns
getEventTypeValue()
public int getEventTypeValue()
Type of event which happened on the entitlement.
.google.cloud.channel.v1.EntitlementEvent.Type event_type = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for eventType.
|
getParserForType()
public Parser<EntitlementEvent> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static EntitlementEvent.Builder newBuilder()
Returns
newBuilder(EntitlementEvent prototype)
public static EntitlementEvent.Builder newBuilder(EntitlementEvent prototype)
Parameter
Returns
newBuilderForType()
public EntitlementEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EntitlementEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static EntitlementEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static EntitlementEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static EntitlementEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static EntitlementEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EntitlementEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static EntitlementEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static EntitlementEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static EntitlementEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static EntitlementEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<EntitlementEvent> parser()
Returns
toBuilder()
public EntitlementEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions