public static final class EntitlementEvent.Builder extends GeneratedMessageV3.Builder<EntitlementEvent.Builder> implements EntitlementEventOrBuilder
Represents Pub/Sub message content describing entitlement update.
Protobuf type google.cloud.channel.v1.EntitlementEvent
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 EntitlementEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EntitlementEvent build()
buildPartial()
public EntitlementEvent buildPartial()
clear()
public EntitlementEvent.Builder clear()
Overrides
clearEntitlement()
public EntitlementEvent.Builder clearEntitlement()
Resource name of an entitlement of the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.resource_reference) = { ... }
clearEventType()
public EntitlementEvent.Builder clearEventType()
Type of event which happened on the entitlement.
.google.cloud.channel.v1.EntitlementEvent.Type event_type = 2;
clearField(Descriptors.FieldDescriptor field)
public EntitlementEvent.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EntitlementEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EntitlementEvent.Builder clone()
Overrides
getDefaultInstanceForType()
public EntitlementEvent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EntitlementEvent other)
public EntitlementEvent.Builder mergeFrom(EntitlementEvent other)
public EntitlementEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EntitlementEvent.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EntitlementEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEntitlement(String value)
public EntitlementEvent.Builder setEntitlement(String value)
Resource name of an entitlement of the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The entitlement to set.
|
setEntitlementBytes(ByteString value)
public EntitlementEvent.Builder setEntitlementBytes(ByteString value)
Resource name of an entitlement of the form:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for entitlement to set.
|
setEventType(EntitlementEvent.Type value)
public EntitlementEvent.Builder setEventType(EntitlementEvent.Type value)
Type of event which happened on the entitlement.
.google.cloud.channel.v1.EntitlementEvent.Type event_type = 2;
setEventTypeValue(int value)
public EntitlementEvent.Builder setEventTypeValue(int value)
Type of event which happened on the entitlement.
.google.cloud.channel.v1.EntitlementEvent.Type event_type = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for eventType to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EntitlementEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EntitlementEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EntitlementEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides