Class ResourceInfoList (1.21.0)

public final class ResourceInfoList extends GeneratedMessageV3 implements ResourceInfoListOrBuilder

Message containing resource details in a batch mode.

Protobuf type google.api.servicecontrol.v2.ResourceInfoList

Static Fields

RESOURCES_FIELD_NUMBER

public static final int RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourceInfoList getDefaultInstance()
Returns
TypeDescription
ResourceInfoList

getDescriptor()

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

newBuilder()

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

newBuilder(ResourceInfoList prototype)

public static ResourceInfoList.Builder newBuilder(ResourceInfoList prototype)
Parameter
NameDescription
prototypeResourceInfoList
Returns
TypeDescription
ResourceInfoList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourceInfoList getDefaultInstanceForType()
Returns
TypeDescription
ResourceInfoList

getParserForType()

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

getResources(int index)

public ResourceInfo getResources(int index)

The resource details.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourceInfo

getResourcesCount()

public int getResourcesCount()

The resource details.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;

Returns
TypeDescription
int

getResourcesList()

public List<ResourceInfo> getResourcesList()

The resource details.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;

Returns
TypeDescription
List<ResourceInfo>

getResourcesOrBuilder(int index)

public ResourceInfoOrBuilder getResourcesOrBuilder(int index)

The resource details.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourceInfoOrBuilder

getResourcesOrBuilderList()

public List<? extends ResourceInfoOrBuilder> getResourcesOrBuilderList()

The resource details.

repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;

Returns
TypeDescription
List<? extends com.google.api.servicecontrol.v2.ResourceInfoOrBuilder>

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 ResourceInfoList.Builder newBuilderForType()
Returns
TypeDescription
ResourceInfoList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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