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
Modifier and Type | Method and Description |
---|---|
Backend.Builder |
addAllRules(java.lang.Iterable<? extends BackendRule> values)
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Backend.Builder |
addRules(BackendRule.Builder builderForValue)
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
addRules(BackendRule value)
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
addRules(int index,
BackendRule.Builder builderForValue)
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
addRules(int index,
BackendRule value)
A list of API backend rules that apply to individual API methods.
|
BackendRule.Builder |
addRulesBuilder()
A list of API backend rules that apply to individual API methods.
|
BackendRule.Builder |
addRulesBuilder(int index)
A list of API backend rules that apply to individual API methods.
|
Backend |
build() |
Backend |
buildPartial() |
Backend.Builder |
clear() |
Backend.Builder |
clearField(Descriptors.FieldDescriptor field) |
Backend.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Backend.Builder |
clearRules()
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
clone() |
Backend |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
BackendRule |
getRules(int index)
A list of API backend rules that apply to individual API methods.
|
BackendRule.Builder |
getRulesBuilder(int index)
A list of API backend rules that apply to individual API methods.
|
java.util.List<BackendRule.Builder> |
getRulesBuilderList()
A list of API backend rules that apply to individual API methods.
|
int |
getRulesCount()
A list of API backend rules that apply to individual API methods.
|
java.util.List<BackendRule> |
getRulesList()
A list of API backend rules that apply to individual API methods.
|
BackendRuleOrBuilder |
getRulesOrBuilder(int index)
A list of API backend rules that apply to individual API methods.
|
java.util.List<? extends BackendRuleOrBuilder> |
getRulesOrBuilderList()
A list of API backend rules that apply to individual API methods.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Backend.Builder |
mergeFrom(Backend other) |
Backend.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Backend.Builder |
mergeFrom(Message other) |
Backend.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Backend.Builder |
removeRules(int index)
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Backend.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Backend.Builder |
setRules(int index,
BackendRule.Builder builderForValue)
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
setRules(int index,
BackendRule value)
A list of API backend rules that apply to individual API methods.
|
Backend.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Backend.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Backend build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Backend buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Backend.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Backend.Builder>
public Backend.Builder mergeFrom(Backend other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Backend.Builder>
public Backend.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Backend.Builder>
java.io.IOException
public java.util.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;
getRulesList
in interface BackendOrBuilder
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;
getRulesCount
in interface BackendOrBuilder
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;
getRules
in interface BackendOrBuilder
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;
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;
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;
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;
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;
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;
public Backend.Builder addAllRules(java.lang.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;
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;
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;
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;
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;
getRulesOrBuilder
in interface BackendOrBuilder
public java.util.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;
getRulesOrBuilderList
in interface BackendOrBuilder
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;
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;
public java.util.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;
public final Backend.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Backend.Builder>
public final Backend.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Backend.Builder>