public final class ListEntitlementsResponse extends GeneratedMessageV3 implements ListEntitlementsResponseOrBuilder
Response message for
CloudChannelService.ListEntitlements.
Protobuf type google.cloud.channel.v1.ListEntitlementsResponse
Static Fields
ENTITLEMENTS_FIELD_NUMBER
public static final int ENTITLEMENTS_FIELD_NUMBER
Field Value
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ListEntitlementsResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ListEntitlementsResponse.Builder newBuilder()
Returns
newBuilder(ListEntitlementsResponse prototype)
public static ListEntitlementsResponse.Builder newBuilder(ListEntitlementsResponse prototype)
Parameter
Returns
public static ListEntitlementsResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListEntitlementsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ListEntitlementsResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListEntitlementsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ListEntitlementsResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListEntitlementsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListEntitlementsResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListEntitlementsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListEntitlementsResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListEntitlementsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ListEntitlementsResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListEntitlementsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ListEntitlementsResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ListEntitlementsResponse getDefaultInstanceForType()
Returns
getEntitlements(int index)
public Entitlement getEntitlements(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
getEntitlementsCount()
public int getEntitlementsCount()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
getEntitlementsList()
public List<Entitlement> getEntitlementsList()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
getEntitlementsOrBuilder(int index)
public EntitlementOrBuilder getEntitlementsOrBuilder(int index)
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Parameter
Returns
getEntitlementsOrBuilderList()
public List<? extends EntitlementOrBuilder> getEntitlementsOrBuilderList()
The reseller customer's entitlements.
repeated .google.cloud.channel.v1.Entitlement entitlements = 1;
Returns
Type | Description |
List<? extends com.google.cloud.channel.v1.EntitlementOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to list the next page of results.
Pass to
ListEntitlementsRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to list the next page of results.
Pass to
ListEntitlementsRequest.page_token
to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
getParserForType()
public Parser<ListEntitlementsResponse> 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
newBuilderForType()
public ListEntitlementsResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListEntitlementsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ListEntitlementsResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions