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 |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ResourceInfoList getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ResourceInfoList.Builder newBuilder()
newBuilder(ResourceInfoList prototype)
public static ResourceInfoList.Builder newBuilder(ResourceInfoList prototype)
public static ResourceInfoList parseDelimitedFrom(InputStream input)
public static ResourceInfoList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ResourceInfoList parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceInfoList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ResourceInfoList parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceInfoList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceInfoList parseFrom(CodedInputStream input)
public static ResourceInfoList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceInfoList parseFrom(InputStream input)
public static ResourceInfoList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ResourceInfoList parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceInfoList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ResourceInfoList> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ResourceInfoList getDefaultInstanceForType()
getParserForType()
public Parser<ResourceInfoList> getParserForType()
Overrides
getResources(int index)
public ResourceInfo getResources(int index)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Parameter |
---|
Name | Description |
index | int
|
getResourcesCount()
public int getResourcesCount()
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Returns |
---|
Type | Description |
int | |
getResourcesList()
public List<ResourceInfo> getResourcesList()
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
getResourcesOrBuilder(int index)
public ResourceInfoOrBuilder getResourcesOrBuilder(int index)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Parameter |
---|
Name | Description |
index | int
|
getResourcesOrBuilderList()
public List<? extends ResourceInfoOrBuilder> getResourcesOrBuilderList()
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Returns |
---|
Type | Description |
List<? extends com.google.api.servicecontrol.v2.ResourceInfoOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ResourceInfoList.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceInfoList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ResourceInfoList.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides