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
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
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backend.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
build()
buildPartial()
public Backend buildPartial()
clear()
public Backend.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Backend.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Backend.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public Backend.Builder clone()
Overrides
getDefaultInstanceForType()
public Backend getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Backend other)
public Backend.Builder mergeFrom(Backend other)
Parameter |
---|
Name | Description |
other | Backend
|
public Backend.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Backend.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backend.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Backend.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backend.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Backend.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides