public static final class TransferEligibility.Builder extends GeneratedMessageV3.Builder<TransferEligibility.Builder> implements TransferEligibilityOrBuilder
Specifies transfer eligibility of a SKU.
Protobuf type google.cloud.channel.v1.TransferEligibility
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferEligibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferEligibility build()
buildPartial()
public TransferEligibility buildPartial()
clear()
public TransferEligibility.Builder clear()
Overrides
clearDescription()
public TransferEligibility.Builder clearDescription()
Localized description if reseller is not eligible to transfer the SKU.
string description = 2;
clearField(Descriptors.FieldDescriptor field)
public TransferEligibility.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIneligibilityReason()
public TransferEligibility.Builder clearIneligibilityReason()
Specified the reason for ineligibility.
.google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
clearIsEligible()
public TransferEligibility.Builder clearIsEligible()
Whether reseller is eligible to transfer the SKU.
bool is_eligible = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferEligibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TransferEligibility.Builder clone()
Overrides
getDefaultInstanceForType()
public TransferEligibility getDefaultInstanceForType()
getDescription()
public String getDescription()
Localized description if reseller is not eligible to transfer the SKU.
string description = 2;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Localized description if reseller is not eligible to transfer the SKU.
string description = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIneligibilityReason()
public TransferEligibility.Reason getIneligibilityReason()
Specified the reason for ineligibility.
.google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
getIneligibilityReasonValue()
public int getIneligibilityReasonValue()
Specified the reason for ineligibility.
.google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for ineligibilityReason.
|
getIsEligible()
public boolean getIsEligible()
Whether reseller is eligible to transfer the SKU.
bool is_eligible = 1;
Returns |
---|
Type | Description |
boolean | The isEligible.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TransferEligibility other)
public TransferEligibility.Builder mergeFrom(TransferEligibility other)
public TransferEligibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferEligibility.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferEligibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDescription(String value)
public TransferEligibility.Builder setDescription(String value)
Localized description if reseller is not eligible to transfer the SKU.
string description = 2;
Parameter |
---|
Name | Description |
value | String
The description to set.
|
setDescriptionBytes(ByteString value)
public TransferEligibility.Builder setDescriptionBytes(ByteString value)
Localized description if reseller is not eligible to transfer the SKU.
string description = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for description to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TransferEligibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIneligibilityReason(TransferEligibility.Reason value)
public TransferEligibility.Builder setIneligibilityReason(TransferEligibility.Reason value)
Specified the reason for ineligibility.
.google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
setIneligibilityReasonValue(int value)
public TransferEligibility.Builder setIneligibilityReasonValue(int value)
Specified the reason for ineligibility.
.google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for ineligibilityReason to set.
|
setIsEligible(boolean value)
public TransferEligibility.Builder setIsEligible(boolean value)
Whether reseller is eligible to transfer the SKU.
bool is_eligible = 1;
Parameter |
---|
Name | Description |
value | boolean
The isEligible to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferEligibility.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferEligibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides