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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupOfferRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LookupOfferRequest build()
Returns
buildPartial()
public LookupOfferRequest buildPartial()
Returns
clear()
public LookupOfferRequest.Builder clear()
Returns
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) = { ... }
Returns
clearField(Descriptors.FieldDescriptor field)
public LookupOfferRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupOfferRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LookupOfferRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LookupOfferRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LookupOfferRequest other)
public LookupOfferRequest.Builder mergeFrom(LookupOfferRequest other)
Parameter
Returns
public LookupOfferRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LookupOfferRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupOfferRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LookupOfferRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupOfferRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupOfferRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides