public static final class Backend.Builder extends GeneratedMessageV3.Builder<Backend.Builder> implements BackendOrBuilder
Backend
defines the backend configuration for a service.
Protobuf type google.api.Backend
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllRules(Iterable<? extends BackendRule> values)
public Backend.Builder addAllRules(Iterable<? extends BackendRule> values)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.api.BackendRule>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backend.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addRules(BackendRule value)
public Backend.Builder addRules(BackendRule value)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Returns
addRules(BackendRule.Builder builderForValue)
public Backend.Builder addRules(BackendRule.Builder builderForValue)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Returns
addRules(int index, BackendRule value)
public Backend.Builder addRules(int index, BackendRule value)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameters
Returns
addRules(int index, BackendRule.Builder builderForValue)
public Backend.Builder addRules(int index, BackendRule.Builder builderForValue)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameters
Returns
addRulesBuilder()
public BackendRule.Builder addRulesBuilder()
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Returns
addRulesBuilder(int index)
public BackendRule.Builder addRulesBuilder(int index)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Returns
build()
Returns
buildPartial()
public Backend buildPartial()
Returns
clear()
public Backend.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Backend.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Backend.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRules()
public Backend.Builder clearRules()
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Returns
clone()
public Backend.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Backend getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getRules(int index)
public BackendRule getRules(int index)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Returns
getRulesBuilder(int index)
public BackendRule.Builder getRulesBuilder(int index)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Returns
getRulesBuilderList()
public List<BackendRule.Builder> getRulesBuilderList()
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Returns
getRulesCount()
public int getRulesCount()
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Returns
getRulesList()
public List<BackendRule> getRulesList()
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Returns
getRulesOrBuilder(int index)
public BackendRuleOrBuilder getRulesOrBuilder(int index)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Returns
getRulesOrBuilderList()
public List<? extends BackendRuleOrBuilder> getRulesOrBuilderList()
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Returns
Type | Description |
List<? extends com.google.api.BackendRuleOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Backend other)
public Backend.Builder mergeFrom(Backend other)
Parameter
Returns
public Backend.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Backend.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backend.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeRules(int index)
public Backend.Builder removeRules(int index)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Backend.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backend.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRules(int index, BackendRule value)
public Backend.Builder setRules(int index, BackendRule value)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameters
Returns
setRules(int index, BackendRule.Builder builderForValue)
public Backend.Builder setRules(int index, BackendRule.Builder builderForValue)
A list of API backend rules that apply to individual API methods.
NOTE: All service configuration rules follow "last one wins" order.
repeated .google.api.BackendRule rules = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Backend.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides