public static final class LookupOfferRequest.Builder extends GeneratedMessageV3.Builder<LookupOfferRequest.Builder> implements LookupOfferRequestOrBuilder
Request message for LookupOffer.
Protobuf type google.cloud.channel.v1.LookupOfferRequest
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 LookupOfferRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LookupOfferRequest build()
buildPartial()
public LookupOfferRequest buildPartial()
clear()
public LookupOfferRequest.Builder clear()
Overrides
clearEntitlement()
public LookupOfferRequest.Builder clearEntitlement()
Required. The resource name of the entitlement to retrieve the Offer.
Entitlement uses the format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public LookupOfferRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupOfferRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public LookupOfferRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public LookupOfferRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntitlement()
public String getEntitlement()
Required. The resource name of the entitlement to retrieve the Offer.
Entitlement uses the format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The entitlement.
|
getEntitlementBytes()
public ByteString getEntitlementBytes()
Required. The resource name of the entitlement to retrieve the Offer.
Entitlement uses the format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for entitlement.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LookupOfferRequest other)
public LookupOfferRequest.Builder mergeFrom(LookupOfferRequest other)
public LookupOfferRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LookupOfferRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupOfferRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEntitlement(String value)
public LookupOfferRequest.Builder setEntitlement(String value)
Required. The resource name of the entitlement to retrieve the Offer.
Entitlement uses the format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The entitlement to set.
|
setEntitlementBytes(ByteString value)
public LookupOfferRequest.Builder setEntitlementBytes(ByteString value)
Required. The resource name of the entitlement to retrieve the Offer.
Entitlement uses the format:
accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for entitlement to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public LookupOfferRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupOfferRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupOfferRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides