public final class TransferEligibility extends GeneratedMessageV3 implements TransferEligibilityOrBuilder
Specifies transfer eligibility of a SKU.
Protobuf type google.cloud.channel.v1.TransferEligibility
Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
INELIGIBILITY_REASON_FIELD_NUMBER
public static final int INELIGIBILITY_REASON_FIELD_NUMBER
Field Value
IS_ELIGIBLE_FIELD_NUMBER
public static final int IS_ELIGIBLE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static TransferEligibility getDefaultInstance()
Returns
getDefaultInstanceForType()
public TransferEligibility getDefaultInstanceForType()
Returns
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.
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getIneligibilityReason()
public TransferEligibility.Reason getIneligibilityReason()
Specified the reason for ineligibility.
.google.cloud.channel.v1.TransferEligibility.Reason ineligibility_reason = 3;
Returns
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.
|
getParserForType()
public Parser<TransferEligibility> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static TransferEligibility.Builder newBuilder()
Returns
newBuilder(TransferEligibility prototype)
public static TransferEligibility.Builder newBuilder(TransferEligibility prototype)
Parameter
Returns
newBuilderForType()
public TransferEligibility.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferEligibility.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static TransferEligibility parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferEligibility parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferEligibility parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferEligibility parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferEligibility parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferEligibility parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferEligibility parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferEligibility parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferEligibility parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferEligibility parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferEligibility parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferEligibility parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferEligibility> parser()
Returns
toBuilder()
public TransferEligibility.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions