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