Class ResourceInfoList.Builder (1.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class ResourceInfoList.Builder extends GeneratedMessageV3.Builder<ResourceInfoList.Builder> implements ResourceInfoListOrBuilder
Message containing resource details in a batch mode.
Protobuf type google.api.servicecontrol.v2.ResourceInfoList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllResources(Iterable<? extends ResourceInfo> values)
public ResourceInfoList.Builder addAllResources(Iterable<? extends ResourceInfo> values)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.api.servicecontrol.v2.ResourceInfo>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceInfoList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addResources(ResourceInfo value)
public ResourceInfoList.Builder addResources(ResourceInfo value)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
addResources(ResourceInfo.Builder builderForValue)
public ResourceInfoList.Builder addResources(ResourceInfo.Builder builderForValue)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
addResources(int index, ResourceInfo value)
public ResourceInfoList.Builder addResources(int index, ResourceInfo value)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
addResources(int index, ResourceInfo.Builder builderForValue)
public ResourceInfoList.Builder addResources(int index, ResourceInfo.Builder builderForValue)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
addResourcesBuilder()
public ResourceInfo.Builder addResourcesBuilder()
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
addResourcesBuilder(int index)
public ResourceInfo.Builder addResourcesBuilder(int index)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ResourceInfoList build()
buildPartial()
public ResourceInfoList buildPartial()
clear()
public ResourceInfoList.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResourceInfoList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceInfoList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResources()
public ResourceInfoList.Builder clearResources()
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
clone()
public ResourceInfoList.Builder clone()
Overrides
getDefaultInstanceForType()
public ResourceInfoList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
getResourcesBuilder(int index)
public ResourceInfo.Builder getResourcesBuilder(int index)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Parameter |
---|
Name | Description |
index | int
|
getResourcesBuilderList()
public List<ResourceInfo.Builder> getResourcesBuilderList()
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourceInfoList other)
public ResourceInfoList.Builder mergeFrom(ResourceInfoList other)
public ResourceInfoList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourceInfoList.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceInfoList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeResources(int index)
public ResourceInfoList.Builder removeResources(int index)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceInfoList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceInfoList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResources(int index, ResourceInfo value)
public ResourceInfoList.Builder setResources(int index, ResourceInfo value)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
setResources(int index, ResourceInfo.Builder builderForValue)
public ResourceInfoList.Builder setResources(int index, ResourceInfo.Builder builderForValue)
The resource details.
repeated .google.api.servicecontrol.v2.ResourceInfo resources = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceInfoList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]