public static final class Backend.Builder extends GeneratedMessage.Builder<Backend.Builder> implements BackendOrBuilder Backend defines the backend configuration for a service.
Protobuf type google.api.Backend
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Backend.BuilderImplements
BackendOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
BackendRule |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
BackendRule.Builder |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
BackendRule |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackendRule.Builder |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Type | Description |
BackendRule.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
BackendRule.Builder |
|
build()
public Backend build()| Returns | |
|---|---|
| Type | Description |
Backend |
|
buildPartial()
public Backend buildPartial()| Returns | |
|---|---|
| Type | Description |
Backend |
|
clear()
public Backend.Builder clear()| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Type | Description |
Backend.Builder |
|
getDefaultInstanceForType()
public Backend getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Backend |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
BackendRule |
|
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 |
| Returns | |
|---|---|
| Type | Description |
BackendRule.Builder |
|
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 | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<BackendRule> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
BackendRuleOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Backend other)
public Backend.Builder mergeFrom(Backend other)| Parameter | |
|---|---|
| Name | Description |
other |
Backend |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Backend.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Backend.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
value |
BackendRule |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BackendRule.Builder |
| Returns | |
|---|---|
| Type | Description |
Backend.Builder |
|