Class TransferEntitlementsResponse (3.40.0)

public final class TransferEntitlementsResponse extends GeneratedMessageV3 implements TransferEntitlementsResponseOrBuilder

Response message for CloudChannelService.TransferEntitlements. This is put in the response field of google.longrunning.Operation.

Protobuf type google.cloud.channel.v1.TransferEntitlementsResponse

Static Fields

ENTITLEMENTS_FIELD_NUMBER

public static final int ENTITLEMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferEntitlementsResponse getDefaultInstance()
Returns
TypeDescription
TransferEntitlementsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TransferEntitlementsResponse.Builder newBuilder()
Returns
TypeDescription
TransferEntitlementsResponse.Builder

newBuilder(TransferEntitlementsResponse prototype)

public static TransferEntitlementsResponse.Builder newBuilder(TransferEntitlementsResponse prototype)
Parameter
NameDescription
prototypeTransferEntitlementsResponse
Returns
TypeDescription
TransferEntitlementsResponse.Builder

parseDelimitedFrom(InputStream input)

public static TransferEntitlementsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferEntitlementsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TransferEntitlementsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferEntitlementsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferEntitlementsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferEntitlementsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferEntitlementsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferEntitlementsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TransferEntitlementsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferEntitlementsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TransferEntitlementsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferEntitlementsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferEntitlementsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TransferEntitlementsResponse> parser()
Returns
TypeDescription
Parser<TransferEntitlementsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TransferEntitlementsResponse getDefaultInstanceForType()
Returns
TypeDescription
TransferEntitlementsResponse

getEntitlements(int index)

public Entitlement getEntitlements(int index)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Entitlement

getEntitlementsCount()

public int getEntitlementsCount()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
TypeDescription
int

getEntitlementsList()

public List<Entitlement> getEntitlementsList()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
TypeDescription
List<Entitlement>

getEntitlementsOrBuilder(int index)

public EntitlementOrBuilder getEntitlementsOrBuilder(int index)

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntitlementOrBuilder

getEntitlementsOrBuilderList()

public List<? extends EntitlementOrBuilder> getEntitlementsOrBuilderList()

The transferred entitlements.

repeated .google.cloud.channel.v1.Entitlement entitlements = 1;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.EntitlementOrBuilder>

getParserForType()

public Parser<TransferEntitlementsResponse> getParserForType()
Returns
TypeDescription
Parser<TransferEntitlementsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TransferEntitlementsResponse.Builder newBuilderForType()
Returns
TypeDescription
TransferEntitlementsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferEntitlementsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TransferEntitlementsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TransferEntitlementsResponse.Builder toBuilder()
Returns
TypeDescription
TransferEntitlementsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException