public final class EntitlementEvent extends GeneratedMessageV3 implements EntitlementEventOrBuilder
Represents Pub/Sub message content describing entitlement update.
Protobuf type google.cloud.channel.v1.EntitlementEvent
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ENTITLEMENT_FIELD_NUMBER
public static final int ENTITLEMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EVENT_TYPE_FIELD_NUMBER
public static final int EVENT_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static EntitlementEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static EntitlementEvent.Builder newBuilder()
newBuilder(EntitlementEvent prototype)
public static EntitlementEvent.Builder newBuilder(EntitlementEvent prototype)
public static EntitlementEvent parseDelimitedFrom(InputStream input)
public static EntitlementEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static EntitlementEvent parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static EntitlementEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(CodedInputStream input)
public static EntitlementEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(InputStream input)
public static EntitlementEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static EntitlementEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EntitlementEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<EntitlementEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public EntitlementEvent getDefaultInstanceForType()
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;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public EntitlementEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EntitlementEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public EntitlementEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides