Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W Y 

A

accept(SourceRoot) - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceVisitor
 
accept(SourceSection) - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceVisitor
 
accept(ConfigSource.Builder) - Method in interface com.google.api.tools.framework.model.ConfigSource.BuildAction
 
accept(Model) - Method in class com.google.api.tools.framework.model.Visitor
 
accept(ProtoFile) - Method in class com.google.api.tools.framework.model.Visitor
 
accept(MessageType) - Method in class com.google.api.tools.framework.model.Visitor
 
accept(Interface) - Method in class com.google.api.tools.framework.model.Visitor
 
accept(EnumType) - Method in class com.google.api.tools.framework.model.Visitor
 
accept(Field) - Method in class com.google.api.tools.framework.model.Visitor
 
accept(BaseType) - Method in class com.google.api.tools.framework.util.GenericVisitor
Visits the children of a given instance.
Accepts - Annotation Type in com.google.api.tools.framework.util
Annotation for marking an acceptor method.
add(Field) - Method in class com.google.api.tools.framework.model.FieldSelector
Extend the selector by the field.
add(Doc) - Method in class com.google.api.tools.framework.snippet.Doc
Appends document that to the document, with no breaks between documents.
add(Doc) - Method in class com.google.api.tools.framework.snippet.Doc.BlockBuilder
 
addAll(Iterable<Doc>) - Method in class com.google.api.tools.framework.snippet.Doc.BlockBuilder
 
addAllNestedRepeatedInt32Value(Iterable<? extends Integer>) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
repeated int32 nested_repeated_int32_value = 2;
addAllRepeatedNestedConfig(Iterable<? extends ConfigSource.NestedConfig>) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
addAllRepeatedStringValue(Iterable<String>) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
addAttribute(Key<List<T>>, T) - Method in class com.google.api.tools.framework.model.Element
Adds an attribute value.
addContents(Collection<ContentElement>) - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceSection
Adds content to the section.
addDiag(Diag) - Method in class com.google.api.tools.framework.importers.swagger.SwaggerToService
Accumulates errors and warning encountered during import.
addDiag(Diag) - Method in class com.google.api.tools.framework.model.BoundedDiagCollector
 
addDiag(Diag) - Method in interface com.google.api.tools.framework.model.DiagCollector
Adds a diagnosis.
addDiag(Diag) - Method in class com.google.api.tools.framework.model.SimpleDiagCollector
 
addDiagIfNotSuppressed(Object, Diag) - Method in class com.google.api.tools.framework.model.Model
Adds diagnosis to the model if it is not suppressed.
addMethod(RestMethod) - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Add method to collection.
addNestedRepeatedInt32Value(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
repeated int32 nested_repeated_int32_value = 2;
addPattern(Element, String) - Method in class com.google.api.tools.framework.model.DiagSuppressor
 
addRepeatedNestedConfig(ConfigSource.NestedConfig) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
addRepeatedNestedConfig(int, ConfigSource.NestedConfig) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
addRepeatedNestedConfig(ConfigSource.NestedConfig.Builder) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
addRepeatedNestedConfig(int, ConfigSource.NestedConfig.Builder) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
addRepeatedNestedConfigBuilder() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
addRepeatedNestedConfigBuilder(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
addRepeatedStringValue(String) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
addRepeatedStringValueBytes(ByteString) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
addRoot(ProtoElement) - Method in class com.google.api.tools.framework.model.Model
Add a root element to the model.
addSection(SourceSection) - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceRoot
Add a section to the document.
addSuppressionDirective(Element, String, List<ConfigAspect>) - Method in class com.google.api.tools.framework.model.DiagSuppressor
Adds a user-level suppression directive.
addSupressionDirective(Element, String) - Method in class com.google.api.tools.framework.model.Model
Adds a user-level suppression directive.
addTopLevelContents(Collection<ContentElement>) - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceRoot
Add top level contents to the document.
addToRuleBuilder(Service.Builder, String, AuthAttribute) - Method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
 
addToRuleBuilder(Service.Builder, String, ContextRule) - Method in class com.google.api.tools.framework.aspects.context.ContextConfigAspect
 
addToRuleBuilder(Service.Builder, String, ElementDocumentationAttribute) - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
addToRuleBuilder(Service.Builder, String, HttpAttribute) - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
 
addToRuleBuilder(Service.Builder, String, AttributeType) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
Adds a rule back to the rule builder, specialized for the given selector.
addToRuleBuilder(Service.Builder, String, SystemParameterRule) - Method in class com.google.api.tools.framework.aspects.systemparameter.SystemParameterConfigAspect
 
addToRuleBuilder(Service.Builder, String, UsageRule) - Method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
addValue(Descriptors.FieldDescriptor, Object, Location) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Adds the scalar value to the field which must be repeated.
align(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Aligns breaks in document child at the current column.
align() - Method in class com.google.api.tools.framework.snippet.Doc
Aligns breaks in the document at the current column.
allOptions() - Static method in class com.google.api.tools.framework.tools.ToolOptions
Returns all options which have been created so far.
allowedAsHttpParameter() - Method in enum com.google.api.tools.framework.model.TypeRef.WellKnownType
Checks whether the WKT can appear in HTTP parameter position.
allowedAsHttpRequestResponse() - Method in enum com.google.api.tools.framework.model.TypeRef.WellKnownType
Checks whether the WKT can appear as HTTP request/response.
allowedAsPathParameter() - Method in enum com.google.api.tools.framework.model.TypeRef.WellKnownType
Checks whether the WKT can appear in HTTP template path position.
allowedAsRequestResponseInCodeGen() - Method in enum com.google.api.tools.framework.model.TypeRef.WellKnownType
Checks whether the WKT is allowed as request/response by codegen.
allSystemParameters() - Static method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
Returns all system parameters.
angles(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Wraps document child in angle brackets.
angles() - Method in class com.google.api.tools.framework.snippet.Doc
Wraps the document in angle brackets.
ApiVersionUtil - Class in com.google.api.tools.framework.aspects.versioning.model
Util class that handles api version in //google/protobuf/api.proto
ApiVersionUtil() - Constructor for class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
 
append(Doc...) - Static method in class com.google.api.tools.framework.snippet.Doc
Appends a list of documents, with no breaks between documents.
append(Iterable<Doc>) - Static method in class com.google.api.tools.framework.snippet.Doc
Appends a list of documents, with no breaks between documents.
appendVersionSuffix(String, String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Append version suffix, if defined, to the given apiVersion.
asDiagCollector() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Return a view of this aspect as a diag collector.
asJsonString(String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Given a documentation string, escape it such that it can be represented as a JSON string.
AuthAttribute - Class in com.google.api.tools.framework.aspects.authentication.model
Represents the authentication configuration for a method.
AuthAttribute(AuthenticationRule) - Constructor for class com.google.api.tools.framework.aspects.authentication.model.AuthAttribute
 
AuthAttribute.Builder - Class in com.google.api.tools.framework.aspects.authentication.model
Builds AuthBinding, mapping validated configuration settings into the HttpRequestChecker configuration proto.
AuthConfigAspect - Class in com.google.api.tools.framework.aspects.authentication
Configuration aspect for authentication binding.

B

baseContext(Map<String, Object>) - Method in class com.google.api.tools.framework.snippet.SnippetSet
Returns a context for snippet evaluation which binds all snippets in this set and the given globals.
baseContext() - Method in class com.google.api.tools.framework.snippet.SnippetSet
Returns a context for snippet evaluation which binds all snippets in this set.
baseInputName() - Method in class com.google.api.tools.framework.snippet.Location
Returns the base input name, without the inclusion context.
BILLING_REQUIREMENT - Static variable in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
BIN_OUT - Static variable in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
binary(int, Doc, Doc, Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Build a binary operator invocation as
binary(Doc, Doc, Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Builds a binary with indentation of 4.
bind(Class<T>) - Method in class com.google.api.tools.framework.snippet.SnippetSet
Binds the snippet set to the given interface.
bind(Class<T>, Map<String, Object>) - Method in class com.google.api.tools.framework.snippet.SnippetSet
Like SnippetSet.bind(Class), but allows to provide a map which defines global variables accessible by the snippets.
blockBuilder(Doc, int) - Static method in class com.google.api.tools.framework.snippet.Doc
Returns a builder for a block which breaks vertically as
blockBuilder(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Returns a builder for a block with indentation of 2.
bodyCapturesUnboundFields() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Returns true if the body is configured to include unbound fields.
BOOL_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
BoundedDiagCollector - Class in com.google.api.tools.framework.model
Implementation of DiagCollector that will contain a bounded amount of Diags.
BoundedDiagCollector(Map<Diag.Kind, Integer>) - Constructor for class com.google.api.tools.framework.model.BoundedDiagCollector
 
BoundedDiagCollector() - Constructor for class com.google.api.tools.framework.model.BoundedDiagCollector
 
BoundedDiagCollector.TooManyDiagsException - Exception in com.google.api.tools.framework.model
Thrown if more that the max Diag of type Diag.Kind.ERROR are added to the collector.
braces(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Wraps document child in braces.
braces() - Method in class com.google.api.tools.framework.snippet.Doc
Wraps the document in braces.
brackets(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Wraps document child in brackets.
brackets() - Method in class com.google.api.tools.framework.snippet.Doc
Wraps the document in brackets.
BREAK - Static variable in class com.google.api.tools.framework.snippet.Doc
The default break, which is printed either as a space in horizontal mode, or as a newline in vertical mode.
breakWith(String) - Static method in class com.google.api.tools.framework.snippet.Doc
Returns a break, which will be printed according to the policy of the closest enclosing group.
build() - Method in class com.google.api.tools.framework.aspects.authentication.model.AuthAttribute.Builder
 
build() - Method in class com.google.api.tools.framework.aspects.Feature.Builder
Returns the feature with the previously given configuration.
build() - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
 
build() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
build() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
build(Doc) - Method in class com.google.api.tools.framework.snippet.Doc.BlockBuilder
 
build() - Method in class com.google.api.tools.framework.snippet.Doc.BlockBuilder
 
build() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
build() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
buildChildren(List<DescriptorProtos.DescriptorProto>, List<DescriptorProtos.EnumDescriptorProto>, String, int, int, ExtensionPool) - Method in class com.google.api.tools.framework.model.ProtoContainerElement
 
Builder() - Constructor for class com.google.api.tools.framework.aspects.authentication.model.AuthAttribute.Builder
 
builder(String) - Static method in class com.google.api.tools.framework.aspects.Feature
Creates a new Builder with the given feature name.
buildPartial() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
buildPartial() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
buildPartial() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
buildPartial() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 

C

clear() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
clear() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
clear() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
clear() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
clearBoolValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional bool bool_value = 2;
clearMapValue() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
optional string map_value = 1;
clearName() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
optional string name = 1;
clearNestedConfig() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
clearNestedRepeatedInt32Value() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
repeated int32 nested_repeated_int32_value = 2;
clearNestedStringValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
optional string nested_string_value = 1;
clearRepeatedNestedConfig() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
clearRepeatedStringValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
clearRuleBuilder(Service.Builder) - Method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
 
clearRuleBuilder(Service.Builder) - Method in class com.google.api.tools.framework.aspects.context.ContextConfigAspect
 
clearRuleBuilder(Service.Builder) - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
clearRuleBuilder(Service.Builder) - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
 
clearRuleBuilder(Service.Builder) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
Clears the rule builder during normalization.
clearRuleBuilder(Service.Builder) - Method in class com.google.api.tools.framework.aspects.systemparameter.SystemParameterConfigAspect
 
clearRuleBuilder(Service.Builder) - Method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
clearStringValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional string string_value = 1;
code() - Method in enum com.google.api.tools.framework.snippet.Doc.AnsiColor
 
CodeBlock - Class in com.google.api.tools.framework.aspects.documentation.source
Represents code block content.
CodeBlock(String, int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.CodeBlock
 
collection() - Method in class com.google.api.tools.framework.aspects.documentation.model.ResourceAttribute
The collection the attributed message type is a resource for.
CollectionAttribute - Class in com.google.api.tools.framework.aspects.http.model
An object representing a REST collection, as derived from analyzing an Api's services and methods.
CollectionAttribute(Model, String) - Constructor for class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
 
color(Doc.AnsiColor, Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Colors document child using the specified ANSI color code.
color(Doc.AnsiColor) - Method in class com.google.api.tools.framework.snippet.Doc
Colors the document using the specified ANSI color code.
com.google.api.tools.framework.aspects - package com.google.api.tools.framework.aspects
 
com.google.api.tools.framework.aspects.authentication - package com.google.api.tools.framework.aspects.authentication
 
com.google.api.tools.framework.aspects.authentication.model - package com.google.api.tools.framework.aspects.authentication.model
 
com.google.api.tools.framework.aspects.context - package com.google.api.tools.framework.aspects.context
 
com.google.api.tools.framework.aspects.control - package com.google.api.tools.framework.aspects.control
 
com.google.api.tools.framework.aspects.control.model - package com.google.api.tools.framework.aspects.control.model
 
com.google.api.tools.framework.aspects.documentation - package com.google.api.tools.framework.aspects.documentation
 
com.google.api.tools.framework.aspects.documentation.model - package com.google.api.tools.framework.aspects.documentation.model
 
com.google.api.tools.framework.aspects.documentation.source - package com.google.api.tools.framework.aspects.documentation.source
 
com.google.api.tools.framework.aspects.http - package com.google.api.tools.framework.aspects.http
 
com.google.api.tools.framework.aspects.http.model - package com.google.api.tools.framework.aspects.http.model
 
com.google.api.tools.framework.aspects.naming - package com.google.api.tools.framework.aspects.naming
 
com.google.api.tools.framework.aspects.servicecontrol - package com.google.api.tools.framework.aspects.servicecontrol
 
com.google.api.tools.framework.aspects.system - package com.google.api.tools.framework.aspects.system
 
com.google.api.tools.framework.aspects.systemparameter - package com.google.api.tools.framework.aspects.systemparameter
 
com.google.api.tools.framework.aspects.usage - package com.google.api.tools.framework.aspects.usage
 
com.google.api.tools.framework.aspects.util - package com.google.api.tools.framework.aspects.util
 
com.google.api.tools.framework.aspects.versioning - package com.google.api.tools.framework.aspects.versioning
 
com.google.api.tools.framework.aspects.versioning.model - package com.google.api.tools.framework.aspects.versioning.model
 
com.google.api.tools.framework.aspects.visibility.model - package com.google.api.tools.framework.aspects.visibility.model
 
com.google.api.tools.framework.importers.swagger - package com.google.api.tools.framework.importers.swagger
 
com.google.api.tools.framework.model - package com.google.api.tools.framework.model
 
com.google.api.tools.framework.model.stages - package com.google.api.tools.framework.model.stages
 
com.google.api.tools.framework.model.testdata - package com.google.api.tools.framework.model.testdata
 
com.google.api.tools.framework.processors.linter - package com.google.api.tools.framework.processors.linter
 
com.google.api.tools.framework.processors.merger - package com.google.api.tools.framework.processors.merger
 
com.google.api.tools.framework.processors.normalizer - package com.google.api.tools.framework.processors.normalizer
 
com.google.api.tools.framework.processors.resolver - package com.google.api.tools.framework.processors.resolver
 
com.google.api.tools.framework.setup - package com.google.api.tools.framework.setup
 
com.google.api.tools.framework.snippet - package com.google.api.tools.framework.snippet
 
com.google.api.tools.framework.tools - package com.google.api.tools.framework.tools
 
com.google.api.tools.framework.tools.configgen - package com.google.api.tools.framework.tools.configgen
 
com.google.api.tools.framework.tools.util - package com.google.api.tools.framework.tools.util
 
com.google.api.tools.framework.util - package com.google.api.tools.framework.util
 
com.google.api.tools.framework.yaml - package com.google.api.tools.framework.yaml
 
COMMA - Static variable in class com.google.api.tools.framework.snippet.Doc
 
CommentReferenceResolver - Class in com.google.api.tools.framework.aspects.documentation
This class is responsible for resolving the relative name references in comments.
CommentReferenceResolver(Model) - Constructor for class com.google.api.tools.framework.aspects.documentation.CommentReferenceResolver
 
concatenateNonEmptyStrings(String, String...) - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
 
CONFIG_FILES - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
ConfigAspect - Interface in com.google.api.tools.framework.model
Represents an abstraction of a configuration cross-cut, like documentation, http, auth, etc.
ConfigAspectBase - Class in com.google.api.tools.framework.aspects
Base class for implementing config aspects.
ConfigAspectBase(Model, String) - Constructor for class com.google.api.tools.framework.aspects.ConfigAspectBase
Initializes this base class.
ConfigGenerator - Interface in com.google.api.tools.framework.tools.configgen
An interface representing an object which does generation of Service configuration.
ConfigGeneratorDriver - Class in com.google.api.tools.framework.tools.configgen
This tool generate the normalized config for an API service (defined using either proto descriptors or swagger spec) and outputs it in binary proto, text or json format.
ConfigGeneratorDriver(ToolOptions) - Constructor for class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
ConfigGeneratorFromProtoDescriptor - Class in com.google.api.tools.framework.tools.configgen
This tool generate the normalized config for an API service and output it in both binary and text proto form.
ConfigGeneratorFromProtoDescriptor(ToolOptions) - Constructor for class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
ConfigLocationResolver - Interface in com.google.api.tools.framework.model
An interface representing an object which collects diagnostics.
ConfigRuleSet<RuleType extends com.google.protobuf.Message> - Class in com.google.api.tools.framework.aspects
Represents a configuration rule set, allowing to discover a configuration rule for a given proto element.
ConfigRuleSet(Descriptors.Descriptor, List<RuleType>, Model) - Constructor for class com.google.api.tools.framework.aspects.ConfigRuleSet
 
ConfigSource - Class in com.google.api.tools.framework.model
Represents a configuration source.
ConfigSource - Class in com.google.api.tools.framework.model.testdata
 
ConfigSource.BuildAction - Interface in com.google.api.tools.framework.model
An interface which represents a build action performed on a builder for a sub-configuration.
ConfigSource.Builder - Class in com.google.api.tools.framework.model
Represents a builder for a configuration message.
ConfigSource.NestedConfig - Class in com.google.api.tools.framework.model.testdata
Protobuf type model.ConfigSourceTest.NestedConfig
ConfigSource.NestedConfig.Builder - Class in com.google.api.tools.framework.model.testdata
Protobuf type model.ConfigSourceTest.NestedConfig
ConfigSource.NestedConfigOrBuilder - Interface in com.google.api.tools.framework.model.testdata
 
ConfigSource.SomeConfig - Class in com.google.api.tools.framework.model.testdata
Protobuf type model.ConfigSourceTest.SomeConfig
ConfigSource.SomeConfig.Builder - Class in com.google.api.tools.framework.model.testdata
Protobuf type model.ConfigSourceTest.SomeConfig
ConfigSource.SomeConfigOrBuilder - Interface in com.google.api.tools.framework.model.testdata
 
ConfigVersionUtil - Class in com.google.api.tools.framework.aspects.versioning
Util class for config version.
ConfigVersionUtil() - Constructor for class com.google.api.tools.framework.aspects.versioning.ConfigVersionUtil
 
containsFieldName(String) - Method in class com.google.api.tools.framework.model.SymbolTable
 
ContentElement - Class in com.google.api.tools.framework.aspects.documentation.source
Represents the content in a document that could be at either file level or section level.
ContentElement(int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.ContentElement
 
Context - Class in com.google.api.tools.framework.snippet
Represents a context for snippet evaluation.
ContextConfigAspect - Class in com.google.api.tools.framework.aspects.context
Configuration aspect for context section.
ControlConfigAspect - Class in com.google.api.tools.framework.aspects.control
Configuration aspect for Control plane.
ControlConfigUtil - Class in com.google.api.tools.framework.aspects.control.model
Public constants and utility methods related to ControlConfigAspect.
ControlConfigUtil() - Constructor for class com.google.api.tools.framework.aspects.control.model.ControlConfigUtil
 
convert(YamlReaderHelper, Descriptors.FieldDescriptor, Node) - Static method in class com.google.api.tools.framework.yaml.NodeConverterUtils
 
convertFrom(DescriptorProtos.SourceCodeInfo.Location, ProtoElement) - Static method in class com.google.api.tools.framework.model.SimpleLocation
Create new instance of SimpleLocation by converting from instance of DescriptorProtos.SourceCodeInfo.Location
convertToApacheCliOptions(ImmutableList<ToolOptions.Option<?>>) - Static method in class com.google.api.tools.framework.tools.ToolOptions
Convert a collection of ToolOptions.Option into an instance of Apache options Options This also adds a help options by default.
create(Model) - Static method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
 
create(Model) - Static method in class com.google.api.tools.framework.aspects.context.ContextConfigAspect
Creates new context config aspect.
create(Model) - Static method in class com.google.api.tools.framework.aspects.control.ControlConfigAspect
 
create(Model) - Static method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
create(String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DeprecationDescriptionAttribute
Create attribute.
create(List<Page>) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationPagesAttribute
Create this attribute.
create(String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.ElementDocumentationAttribute
Create attribute.
create(String, String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.ElementDocumentationAttribute
 
create(String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.PageAttribute
Create attribute.
create(String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.ResourceAttribute
Create attribute.
create(Model) - Static method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
Creates http config aspect.
create(Method, RestKind, String, String) - Static method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Create a new REST method.
create(Model) - Static method in class com.google.api.tools.framework.aspects.naming.NamingConfigAspect
 
create(Model) - Static method in class com.google.api.tools.framework.aspects.servicecontrol.ServiceControlConfigAspect
 
create(Model) - Static method in class com.google.api.tools.framework.aspects.system.SystemConfigAspect
 
create(Model) - Static method in class com.google.api.tools.framework.aspects.systemparameter.SystemParameterConfigAspect
Creates new system parameter config aspect.
create(Model) - Static method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
Creates usage config aspect.
create(String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.VersionAttribute
Create attribute.
create(Model) - Static method in class com.google.api.tools.framework.aspects.versioning.VersionConfigAspect
 
create(Iterable<ProtoElement>) - Static method in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
Returns a scoper which restricts a model to the elements reachable via the given roots.
create(Location, String, Diag.Kind, Object...) - Static method in class com.google.api.tools.framework.model.Diag
 
create(ProtoContainerElement, DescriptorProtos.EnumDescriptorProto, String) - Static method in class com.google.api.tools.framework.model.EnumType
Creates an enum backed up by the given proto.
create(EnumType, DescriptorProtos.EnumValueDescriptorProto, String) - Static method in class com.google.api.tools.framework.model.EnumValue
Creates an enum value backed up by the given proto.
create(DescriptorProtos.FileDescriptorSet) - Static method in class com.google.api.tools.framework.model.ExtensionPool
 
create(MessageType, DescriptorProtos.FieldDescriptorProto, String, Oneof) - Static method in class com.google.api.tools.framework.model.Field
Creates a field backed up by the given proto.
create(ProtoFile, DescriptorProtos.ServiceDescriptorProto, String) - Static method in class com.google.api.tools.framework.model.Interface
Creates a interface backed up by the given proto.
create(ProtoContainerElement, DescriptorProtos.DescriptorProto, String, ExtensionPool) - Static method in class com.google.api.tools.framework.model.MessageType
Creates a message backed up by the given proto.
create(Interface, DescriptorProtos.MethodDescriptorProto, String) - Static method in class com.google.api.tools.framework.model.Method
Creates a method with DescriptorProtos.MethodDescriptorProto.
create(DescriptorProtos.FileDescriptorSet, Iterable<String>, Iterable<String>, ExtensionPool) - Static method in class com.google.api.tools.framework.model.Model
Creates a new model based on the given file descriptor, list of source file names and list of experiments to be enabled for the model.
create(DescriptorProtos.FileDescriptorSet, Iterable<String>) - Static method in class com.google.api.tools.framework.model.Model
Creates a new model based on the given file descriptor set and list of source file names.
create(DescriptorProtos.FileDescriptorSet) - Static method in class com.google.api.tools.framework.model.Model
Creates an model where all protos in the descriptor are considered to be sources.
create(Service) - Static method in class com.google.api.tools.framework.model.Model
Creates a model from a normalized service config, rather than from descriptor and .yaml files.
create(ProtoContainerElement, DescriptorProtos.OneofDescriptorProto, String) - Static method in class com.google.api.tools.framework.model.Oneof
 
create(Model, DescriptorProtos.FileDescriptorProto, boolean, ExtensionPool) - Static method in class com.google.api.tools.framework.model.ProtoFile
Creates a new protocol file backed up by the given descriptor.
create() - Static method in class com.google.api.tools.framework.tools.ToolOptions
Returns new empty tool options instance.
createAsExtension(MessageType, ExtensionPool.Extension, String, String) - Static method in class com.google.api.tools.framework.model.Field
Creates a field that represents an extension.
createOption(Class<T>, String, String, T) - Static method in class com.google.api.tools.framework.tools.ToolOptions
Creates a new option from a type.
createOption(TypeLiteral<T>, String, String, T) - Static method in class com.google.api.tools.framework.tools.ToolOptions
Creates a new option from a type literal.
createOptionNoFlag(String, String, List<String>) - Static method in class com.google.api.tools.framework.tools.ToolOptions
Creates a new option for a list of strings which is marked to not become a flag if converted to program arguments but takes all additional (non-flag) program arguments.
createServiceConfig() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerToService
Creates Service from Swagger Object, and returns it.
createSnippetInterface(Class<T>, String, String) - Static method in class com.google.api.tools.framework.snippet.SnippetSet
Returns the given interface type bound to an instance of SnippetSet parsed from the given snippet resource file.
createSnippetInterface(Class<T>, String, String, Map<String, Object>) - Static method in class com.google.api.tools.framework.snippet.SnippetSet
Returns the given interface type bound to an instance of SnippetSet parsed from the given snippet resource file.

D

DATA_PATH - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
DEFAULT_INDENT - Static variable in class com.google.api.tools.framework.snippet.Doc
Size of the default indentation step in characters.
DEFAULT_MAX_ERRORS - Static variable in class com.google.api.tools.framework.model.BoundedDiagCollector
 
DEFAULT_MAX_WARNINGS - Static variable in class com.google.api.tools.framework.model.BoundedDiagCollector
 
DEFAULT_WIDTH - Static variable in class com.google.api.tools.framework.snippet.Doc
The default number of columns to format for if no width is specified.
defaultAccept(BaseType) - Method in class com.google.api.tools.framework.util.GenericVisitor
The default method which is invoked if no explicit @Accepts method is found for a type.
defaultValue() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
The default value of this system parameter.
defaultValue() - Method in class com.google.api.tools.framework.tools.ToolOptions.Option
 
defaultVisit(BaseType) - Method in class com.google.api.tools.framework.util.GenericVisitor
The default method which is invoked if no explicit @Visits method is found for a type.
deprecationDescription() - Method in class com.google.api.tools.framework.aspects.documentation.model.DeprecationDescriptionAttribute
The content of the deprecation_description this element is associated with.
deprecationDescription() - Method in class com.google.api.tools.framework.aspects.documentation.model.ElementDocumentationAttribute
The deprecation documentation of the proto element, if present.
DeprecationDescriptionAttribute - Class in com.google.api.tools.framework.aspects.documentation.model
An attribute attached by this aspect to elements, representing resolved deprecation description documentation.
DeprecationDescriptionAttribute() - Constructor for class com.google.api.tools.framework.aspects.documentation.model.DeprecationDescriptionAttribute
 
deriveApiNameFromServiceName(String) - Static method in class com.google.api.tools.framework.aspects.util.DnsNameUtil
Returns the API name as derived from a service name.
description() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
The description of this system parameter.
description() - Method in class com.google.api.tools.framework.tools.ToolOptions.Option
 
DESCRIPTOR_SET - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
DescriptorGenerator - Class in com.google.api.tools.framework.processors.normalizer
DescriptorGenerator translates a normalized google.api.Service into a FileDescriptorSet.
DescriptorGenerator() - Constructor for class com.google.api.tools.framework.processors.normalizer.DescriptorGenerator
 
DescriptorNormalization - Class in com.google.api.tools.framework.processors.normalizer
Descriptor normalization utility methods.
Diag - Class in com.google.api.tools.framework.model
An object representing a diagnostic message (error, warning, hint).
Diag() - Constructor for class com.google.api.tools.framework.model.Diag
 
Diag.Kind - Enum in com.google.api.tools.framework.model
Represents diagnosis kind.
DiagCollector - Interface in com.google.api.tools.framework.model
An interface representing an object which collects diagnostics.
diagPrefix(String) - Static method in class com.google.api.tools.framework.model.Model
Returns a prefix to be used in diag messages for general errors and warnings.
diagPrefixForLint(String, String) - Static method in class com.google.api.tools.framework.model.Model
Returns a prefix to be used in diag messages representing linter warnings.
diags - Variable in class com.google.api.tools.framework.tools.GenericToolDriverBase
 
DiagSuppressor - Class in com.google.api.tools.framework.model
Manages the set of rules for suppressing Diag.Kind.WARNING Diags.
DiagSuppressor(DiagCollector) - Constructor for class com.google.api.tools.framework.model.DiagSuppressor
 
diagToString(Diag, boolean) - Static method in class com.google.api.tools.framework.tools.ToolUtil
Produce a string for the diagnosis, with optional coloring.
DnsNameUtil - Class in com.google.api.tools.framework.aspects.util
Utility class for service DNS name.
DnsNameUtil() - Constructor for class com.google.api.tools.framework.aspects.util.DnsNameUtil
 
Doc - Class in com.google.api.tools.framework.snippet
A Java implementation of a Wadler-Lindig pretty printer.
Doc() - Constructor for class com.google.api.tools.framework.snippet.Doc
 
Doc.AnsiColor - Enum in com.google.api.tools.framework.snippet
ANSI color codes.
Doc.BlockBuilder - Class in com.google.api.tools.framework.snippet
A builder for block-like constructs.
Doc.GroupKind - Enum in com.google.api.tools.framework.snippet
Describes how the breaks within a group() should be printed.
documentation() - Method in class com.google.api.tools.framework.aspects.documentation.model.ElementDocumentationAttribute
The processed documentation of the proto element, with documentation directives resolved.
DocumentationConfigAspect - Class in com.google.api.tools.framework.aspects.documentation
Configuration aspect for documentation.
DocumentationPagesAttribute - Class in com.google.api.tools.framework.aspects.documentation.model
An attribute attached to the model to represent normalized documentation pages specified through the documentation configuration.
DocumentationPagesAttribute() - Constructor for class com.google.api.tools.framework.aspects.documentation.model.DocumentationPagesAttribute
 
DocumentationProcessorSet - Class in com.google.api.tools.framework.aspects.documentation
Processor set that contains a set of registered DocumentationProcessors to process given documentation in a chained way.
DocumentationProcessorSet(Collection<DocumentationProcessor>) - Constructor for class com.google.api.tools.framework.aspects.documentation.DocumentationProcessorSet
 
DocumentationUtil - Class in com.google.api.tools.framework.aspects.documentation.model
Static utilities for dealing with documentation.

E

Element - Class in com.google.api.tools.framework.model
Base class for all model elements.
Element() - Constructor for class com.google.api.tools.framework.model.Element
 
ElementDocumentationAttribute - Class in com.google.api.tools.framework.aspects.documentation.model
An attribute attached by this aspect to elements, representing resolved documentation.
ElementDocumentationAttribute() - Constructor for class com.google.api.tools.framework.aspects.documentation.model.ElementDocumentationAttribute
 
EMPTY - Static variable in class com.google.api.tools.framework.model.ExtensionPool
 
EMPTY - Static variable in class com.google.api.tools.framework.snippet.Doc
The empty document, which prints as "" (the empty string).
enableDiscoveryDocDerivation(boolean) - Method in class com.google.api.tools.framework.model.Model
 
enableExperiment(String) - Method in class com.google.api.tools.framework.model.Model
Enables the given experiment (for testing).
endLinting() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation ending linting.
endLinting() - Method in interface com.google.api.tools.framework.model.ConfigAspect
Marks end of style checking.
endMerging() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation ending merging; does nothing.
endMerging() - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
 
endMerging() - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
 
endMerging() - Method in class com.google.api.tools.framework.aspects.servicecontrol.ServiceControlConfigAspect
Validates control config section of the service config.
endMerging() - Method in interface com.google.api.tools.framework.model.ConfigAspect
Marks end of merging.
endNormalization(Service.Builder) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation of ending normalization; does nothing.
endNormalization(Service.Builder) - Method in interface com.google.api.tools.framework.model.ConfigAspect
Marks end of normalization.
ENDPOINTS_SERVICE_CONTROL - Static variable in class com.google.api.tools.framework.aspects.control.model.ControlConfigUtil
 
ensureStaticsInitialized() - Static method in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
An empty method to ensure statics in this class are initialized even if a constructor has not yet been called.
enumDescriptions() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
Iterates through enum descriptions of this system parameter.
EnumType - Class in com.google.api.tools.framework.model
Represents an enum declaration.
EnumValue - Class in com.google.api.tools.framework.model
Represents an enum value.
enumValues() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
Iterates through enum values of this system parameter.
equals(Object) - Method in class com.google.api.tools.framework.model.FieldSelector
 
equals(Object) - Method in class com.google.api.tools.framework.model.SimpleLocation
 
equals(Object) - Method in class com.google.api.tools.framework.model.TypeRef
 
error(Object, String, Object...) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Helper for subclasses to report an error.
error(Location, String, Object...) - Static method in class com.google.api.tools.framework.model.Diag
Creates an error diagnosis.
establishes() - Method in interface com.google.api.tools.framework.model.Processor
The stage this processor establishes if operation successfully finishes.
establishes() - Method in class com.google.api.tools.framework.processors.linter.Linter
 
establishes() - Method in class com.google.api.tools.framework.processors.merger.Merger
 
establishes() - Method in class com.google.api.tools.framework.processors.normalizer.Normalizer
 
establishes() - Method in class com.google.api.tools.framework.processors.resolver.Resolver
 
establishStage(Key<?>) - Method in class com.google.api.tools.framework.model.Model
Establishes a processing stage.
eval(Class<T>, String, Context, List<Object>) - Method in class com.google.api.tools.framework.snippet.SnippetSet
Evaluates the named snippet with given context and requested result type.
eval(String, Object...) - Method in class com.google.api.tools.framework.snippet.SnippetSet
Shortcut for evaluating a snippet with the SnippetSet.baseContext() into a Doc.
evaluate(ProtoElement, AuthenticationRule, boolean) - Method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
 
evaluate(ProtoElement, ContextRule, boolean) - Method in class com.google.api.tools.framework.aspects.context.ContextConfigAspect
 
evaluate(ProtoElement, DocumentationRule, boolean) - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
evaluate(Collection<String>, int, DiagCollector, Location) - Method in class com.google.api.tools.framework.aspects.Features
Evaluates a collection of feature strings provided by the service owner, taking into account the feature definitions and the current config version, and returns the canonicalized set of enabled features.
evaluate(ProtoElement, HttpRule, boolean) - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
 
evaluate(ProtoElement, RuleType, boolean) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
Evaluates the rule w.r.t.
evaluate(ProtoElement, SystemParameterRule, boolean) - Method in class com.google.api.tools.framework.aspects.systemparameter.SystemParameterConfigAspect
 
evaluate(ProtoElement, UsageRule, boolean) - Method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
evalute(Element) - Method in class com.google.api.tools.framework.aspects.documentation.source.Instruction
Evaluate the instruction in context of given element.
expectList(YamlReaderHelper, Descriptors.FieldDescriptor, Node) - Static method in class com.google.api.tools.framework.yaml.NodeConverterUtils
 
expectMap(YamlReaderHelper, Descriptors.FieldDescriptor, Node) - Static method in class com.google.api.tools.framework.yaml.NodeConverterUtils
 
EXPERIMENTS - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
EXTENSION_DESCRIPTOR_SET - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
ExtensionPool - Class in com.google.api.tools.framework.model
Facilitates easy look up of extensions by name.
ExtensionPool.Extension - Class in com.google.api.tools.framework.model
Encapsulates source information for an extension field.
extractDefaultMajorVersionFromPackageName(String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Extract major version from package name.
extractDefaultMajorVersionFromRestName(String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Extract major version from REST element name.
extractMajorVersionFromSemanticVersion(String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Return major version of the given semantic version.

F

Feature - Class in com.google.api.tools.framework.aspects
Feature represents a platform behavior that may not be suitable for all services.
Feature.Builder - Class in com.google.api.tools.framework.aspects
Builder for Features.
Features - Class in com.google.api.tools.framework.aspects
Manages a collection of Feature objects that together define the feature handling for a particular service config element.
Features(Feature...) - Constructor for class com.google.api.tools.framework.aspects.Features
 
fgroup(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Encloses document child in an Doc.GroupKind.FILL group.
fgroup() - Method in class com.google.api.tools.framework.snippet.Doc
Encloses the document in an Doc.GroupKind.FILL group.
Field - Class in com.google.api.tools.framework.model
Represents a field declaration.
FieldSegment(String, ImmutableList<HttpAttribute.PathSegment>) - Constructor for class com.google.api.tools.framework.aspects.http.model.HttpAttribute.FieldSegment
 
FieldSelector - Class in com.google.api.tools.framework.model
Represents a field selector, a list of fields with some special operations on it.
FileInclusion - Class in com.google.api.tools.framework.aspects.documentation.source
Represents Docgen file inclusion instruction.
FileInclusion(String, String, int, int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.FileInclusion
 
fileInputSupplier(File) - Static method in class com.google.api.tools.framework.snippet.SnippetSet
Returns an input supplier which works on the given root file.
filter(DiagCollector, Set<String>, Location, String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Performs comment filtering.
filter(Iterable<E>) - Method in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
 
filter(Iterable<E>) - Method in interface com.google.api.tools.framework.model.Scoper
Filters the given iterable to the elements reachable with this scoper.
findDataFile(String) - Method in class com.google.api.tools.framework.model.Model
Finds a file on the data path.
fits(Doc.LayoutMode, Doc.FitsState) - Method in class com.google.api.tools.framework.snippet.Doc
Determines if this document fits in state.width columns, up to the next newline.
format(StringBuilder, Deque<Doc.Agendum>, int, int, int, Doc.LayoutMode) - Method in class com.google.api.tools.framework.snippet.Doc
Pretty-print a document into a StringBuilder.
forNumber(int) - Static method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
 
fromIdlLayer(ProtoElement) - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
fromIdlLayer(ProtoElement) - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
 
fromIdlLayer(ProtoElement) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
Attempts to synthesize the rule from the IDL, e.g.
fromPrimitiveName(String) - Static method in class com.google.api.tools.framework.model.TypeRef
Creates a reference to a primitive type based on its name in the protocol buffer language, with default cardinality optional.

G

generate(Service) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorGenerator
Generates a FileDescriptorSet for the specified normalized service config.
generateServiceConfig() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
generateServiceConfig() - Method in interface com.google.api.tools.framework.tools.configgen.ConfigGenerator
Method that generates and returns a Service object.
generateServiceConfig() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
GenericToolDriverBase - Class in com.google.api.tools.framework.tools
Abstract base class for drivers running tools based on the framework.
GenericToolDriverBase(ToolOptions) - Constructor for class com.google.api.tools.framework.tools.GenericToolDriverBase
 
GenericToolDriverBase(ToolOptions, DiagCollector) - Constructor for class com.google.api.tools.framework.tools.GenericToolDriverBase
 
GenericVisitor<BaseType> - Class in com.google.api.tools.framework.util
A generic visitor class.
GenericVisitor(Class<BaseType>) - Constructor for class com.google.api.tools.framework.util.GenericVisitor
Constructs a generic visitor with baseType being the root type of the object model.
get(ToolOptions.Option<T>) - Method in class com.google.api.tools.framework.tools.ToolOptions
Gets an option, or its default value if it is not set.
getAdditionalBindings() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
 
getAllBindings() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Returns an Iterable that includes the primary binding (the current one) and all additional bindings.
getAnySpecifiedFieldInHttpRule() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Returns the name of the any field specified in the underlying http rule.
getApiV1VersionSuffix() - Method in class com.google.api.tools.framework.model.Model
Gets API v1 version suffix.
getArg() - Method in class com.google.api.tools.framework.aspects.documentation.source.Instruction
Returns the instruction argument.
getAspectName() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
 
getAspectName() - Method in interface com.google.api.tools.framework.model.ConfigAspect
Returns the string identifying the aspect in diagnosis.
getAttribute(Key<T>) - Method in class com.google.api.tools.framework.model.Element
Gets an attribute value.
getAttributeOrDefault(Key<T>, T) - Method in class com.google.api.tools.framework.model.Element
Gets an attribute value if it exists, otherwise the given default value.
getAuthenticationRule() - Method in class com.google.api.tools.framework.aspects.authentication.model.AuthAttribute
Gets the underlying AuthenticationRule.
getBaseMethod() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the underlying method element.
getBody() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets the body or null if none specified.
getBodySelectors() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Get fields which are bound via the body.
getBoolValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional bool bool_value = 2;
getBoolValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
optional bool bool_value = 2;
getBoolValue() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
optional bool bool_value = 2;
getCardinality() - Method in class com.google.api.tools.framework.model.TypeRef
Returns the type cardinality.
getCode() - Method in class com.google.api.tools.framework.aspects.documentation.source.Instruction
Returns the instruction code
getConfig() - Method in class com.google.api.tools.framework.model.ConfigSource
Returns the config message.
getConfig() - Method in class com.google.api.tools.framework.model.Interface
Returns the api config.
getConfigAspects() - Method in class com.google.api.tools.framework.model.Model
Returns the registered configuration aspects.
getConfigVersion() - Method in class com.google.api.tools.framework.model.Model
Returns the effective config version.
getContent() - Method in class com.google.api.tools.framework.aspects.documentation.source.CodeBlock
 
getContent() - Method in class com.google.api.tools.framework.aspects.documentation.source.ContentElement
Returns the content.
getContent() - Method in class com.google.api.tools.framework.aspects.documentation.source.FileInclusion
Returns the content of included file if file path is valid.
getContent() - Method in class com.google.api.tools.framework.aspects.documentation.source.Instruction
Return the content (empty for instruction).
getContent() - Method in class com.google.api.tools.framework.aspects.documentation.source.Text
 
getContents() - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceSection
Returns contents of the section.
getControlEnvironment() - Method in class com.google.api.tools.framework.model.Model
Returns the control environment string of this model.
getCyclicFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which have cyclic types.
getDataPath() - Method in class com.google.api.tools.framework.model.Model
Returns a search path for data dependencies.
getDataPath() - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
Returns the data path, including as specified by options and platform dependent defaults.
getDeclaredTypes() - Method in class com.google.api.tools.framework.model.SymbolTable
Get all declared types in the symbol table.
getDeclaredVisibilityCombinations() - Method in class com.google.api.tools.framework.model.Model
Get a collection of declared visibility combinations.
getDefaultConfigVersion() - Static method in class com.google.api.tools.framework.model.Model
Returns the default config version.
getDefaultInstance() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
getDefaultInstance() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
getDefaultInstance() - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
getDefaultInstance() - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
getDefaultInstanceForType() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
getDefaultValue() - Method in class com.google.api.tools.framework.model.Field
Returns the default value of the field, as specified in the descriptor.proto, or null if none is defined.
getDependencies() - Method in class com.google.api.tools.framework.model.ProtoFile
Returns the dependencies.
getDeprecationDescription(ProtoElement) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Given an ProtoElement, returns its associated deprecation description.
getDescription(ProtoElement) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Given an ProtoElement, returns its associated description.
getDescription(ProtoElement, String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Given a proto element, returns its associated description.
getDescriptor() - Method in class com.google.api.tools.framework.model.ExtensionPool
 
getDescriptor() - Method in class com.google.api.tools.framework.model.Method
getDescriptor() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource
 
getDescriptor() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
getDescriptor() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
getDescriptor() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
getDescriptor() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
getDescriptor() - Static method in class com.google.api.tools.framework.yaml.ProtoFieldValueParserProto
 
getDescriptor() - Static method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
 
getDescriptor() - Static method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
getDescriptor() - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
getDescriptor() - Static method in class com.google.api.tools.framework.yaml.TestConfigProto
 
getDescriptor() - Static method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
getDescriptor() - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
getDescriptorForType() - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Return the descriptor for the message being built.
getDescriptorForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
getDescriptorForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
getDescriptorForType() - Method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
 
getDescriptorForType() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
getDescriptorForType() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
getDevConfigVersion() - Static method in class com.google.api.tools.framework.model.Model
Returns the config version under development.
getDiagCollector() - Method in class com.google.api.tools.framework.model.Model
 
getDiagCollector() - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
 
getDiags() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
getDiags() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerToService
Returns the diagnosis accumulated.
getDiags() - Method in class com.google.api.tools.framework.model.BoundedDiagCollector
 
getDiags() - Method in interface com.google.api.tools.framework.model.DiagCollector
Returns a collection of diagnostics in the order they were added.
getDiags() - Method in class com.google.api.tools.framework.model.SimpleDiagCollector
 
getDiags() - Method in interface com.google.api.tools.framework.tools.configgen.ConfigGenerator
Returns a list of diagnostic messages.
getDiags() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
getDiags() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
Returns diagnosis, including errors and warnings.
getDiags() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Returns diagnosis, including errors and warnings.
getDisplayString() - Method in interface com.google.api.tools.framework.model.Location
Get the location as a string readable to users and interpretable by IDEs.
getDisplayString() - Method in class com.google.api.tools.framework.model.SimpleLocation
 
getDocumentation(ProtoElement) - Method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
 
getDocumentation(ProtoElement) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation of aspect documentation.
getDocumentation(ProtoElement) - Method in interface com.google.api.tools.framework.model.ConfigAspect
The configuration aspect documentation for the proto element.
getDocumentation(ProtoElement) - Method in class com.google.api.tools.framework.model.ProtoFile
Helper to get the documentation backed up by this proto file for the given element.
getDocumentationRootUrl(Model) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Given a model, returns its associated documentation root url based on documentation and legacy configuration.
getDocumentationTitle(ProtoElement) - Method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
 
getDocumentationTitle(ProtoElement) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation of aspect documentation title.
getDocumentationTitle(ProtoElement) - Method in interface com.google.api.tools.framework.model.ConfigAspect
The title of the configuration aspect documentation for given proto element.
getElementClass() - Method in class com.google.api.tools.framework.aspects.LintRule
Gets the element class this rule works on.
getEnums() - Method in class com.google.api.tools.framework.model.ProtoContainerElement
Returns the enums.
getEnumType() - Method in class com.google.api.tools.framework.model.TypeRef
If this is a enum type, returns the enum, otherwise fails.
getErrorCount() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerToService
Returns the number of errors and warnings.
getErrorCount() - Method in class com.google.api.tools.framework.model.BoundedDiagCollector
 
getErrorCount() - Method in interface com.google.api.tools.framework.model.DiagCollector
Returns the number of diagnosed proper errors.
getErrorCount() - Method in class com.google.api.tools.framework.model.SimpleDiagCollector
 
getErrors() - Method in class com.google.api.tools.framework.model.BoundedDiagCollector
 
getErrors() - Method in class com.google.api.tools.framework.model.SimpleDiagCollector
 
getFieldPath() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.FieldSegment
 
getFields() - Method in class com.google.api.tools.framework.model.FieldSelector
Returns the fields of this selector.
getFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields.
getFields() - Method in class com.google.api.tools.framework.model.Oneof
Gets all fields belonging to this oneof.
getFieldSelector() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.FieldSegment
Gets the field this segment links to.
getFile() - Method in class com.google.api.tools.framework.model.ProtoElement
Returns the proto file in which this element lives.
getFile() - Method in class com.google.api.tools.framework.model.ProtoFile
 
getFileLocation() - Method in class com.google.api.tools.framework.model.ExtensionPool.Extension
 
getFileName() - Method in class com.google.api.tools.framework.aspects.documentation.source.FileInclusion
Returns the included file name.
getFiles() - Method in class com.google.api.tools.framework.model.Model
Returns the list of (proto) files.
getFlatPath() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets the flattened path, where all FieldSegments have been replaced by their sub-paths.
getFullName() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
 
getFullName() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
 
getFullName() - Method in class com.google.api.tools.framework.model.Element
Returns a fully qualified name for the element.
getFullName() - Method in class com.google.api.tools.framework.model.Model
 
getFullName() - Method in class com.google.api.tools.framework.model.ProtoElement
Returns the full name of this element, including package and outer messages for nested elements.
getFullName() - Method in class com.google.api.tools.framework.model.ProtoFile
 
getFullNameNoVersion() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Returns the full name with version prefix stripped if the full name has it.
getHeader() - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceSection
Returns header of the section.
getHttpRule() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets the underlying http rule.
getIndex() - Method in class com.google.api.tools.framework.model.EnumValue
Get the index position of this value in its parent.
getInputMessage() - Method in class com.google.api.tools.framework.model.Method
Helper for getting the methods input message.
getInputType() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Get the input type of the underlying method.
getInputType() - Method in class com.google.api.tools.framework.model.Method
Returns the input type.
getInputTypeName() - Method in class com.google.api.tools.framework.model.Method.MethodDescriptor
Returns the type name of the input message
getInterfaces() - Method in class com.google.api.tools.framework.model.ProtoFile
Returns the interfaces in this file.
getInterfaces() - Method in class com.google.api.tools.framework.model.SymbolTable
Get all interfaces in the symbol table.
getIssue() - Method in exception com.google.api.tools.framework.snippet.SnippetSet.EvalException
Returns the issue describing this error.
getIssues() - Method in exception com.google.api.tools.framework.snippet.SnippetSet.ParseException
The issues associated with this exception.
getJsonName() - Method in class com.google.api.tools.framework.model.Field
Returns the JSON name of the field.
getKind() - Method in class com.google.api.tools.framework.model.Diag
 
getKind() - Method in class com.google.api.tools.framework.model.TypeRef
Returns the type kind.
getLastField() - Method in class com.google.api.tools.framework.model.FieldSelector
Returns the last field of the selector.
getLevel() - Method in class com.google.api.tools.framework.aspects.documentation.source.SectionHeader
Returns the heading level.
getLintRuleNames() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
 
getLintRuleNames() - Method in interface com.google.api.tools.framework.model.ConfigAspect
Returns the set of all style rule names related to this aspect.
getLiteral() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.LiteralSegment
 
getLocation() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
 
getLocation() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
 
getLocation(Message, String, Object) - Method in class com.google.api.tools.framework.model.ConfigSource
Returns the location of the given named field in the (sub)message, with optional element key for maps or repeated fields.
getLocation() - Method in class com.google.api.tools.framework.model.Diag
 
getLocation() - Method in class com.google.api.tools.framework.model.Element
Returns the location associated with this element.
getLocation() - Method in class com.google.api.tools.framework.model.ExtensionPool.Extension
 
getLocation() - Method in class com.google.api.tools.framework.model.Model
 
getLocation() - Method in class com.google.api.tools.framework.model.ProtoElement
Deliver the location of this protocol element.
getLocation() - Method in class com.google.api.tools.framework.model.ProtoFile
 
getLocation() - Method in class com.google.api.tools.framework.model.TypeRef
If this is a message or enum type, return its declaration location, otherwise SimpleLocation.UNKNOWN.
getLocationInConfig(Message, String) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Returns the service config file location of the given named field in the (sub)message.
getLocationInConfig(Message, String) - Method in class com.google.api.tools.framework.aspects.LintRule
Returns the service config file location of the given named field in the (sub)message.
getLocationInConfig(Message, String) - Method in interface com.google.api.tools.framework.model.ConfigLocationResolver
Returns the service config file location of the given named field in the (sub)message.
getLocationInConfig(Message, String) - Method in class com.google.api.tools.framework.model.Model
Returns the service config file location of the given named field in the (sub)message.
getLocationOfRepeatedFieldInConfig(Message, String, Object) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Returns the service config file location of the given named field in the (sub)message.
getLocationOfRepeatedFieldInConfig(Message, String, Object) - Method in interface com.google.api.tools.framework.model.ConfigLocationResolver
Returns the service config file location of the given named field in the (sub)message.
getLocationOfRepeatedFieldInConfig(Message, String, Object) - Method in class com.google.api.tools.framework.model.Model
Returns the service config file location of the given named field in the (sub)message.
getMapConfig() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
map<string, .test.yaml.TestMapValue> map_config = 2;
getMapConfig() - Method in class com.google.api.tools.framework.yaml.TestConfig
map<string, .test.yaml.TestMapValue> map_config = 2;
getMapConfig() - Method in interface com.google.api.tools.framework.yaml.TestConfigOrBuilder
map<string, .test.yaml.TestMapValue> map_config = 2;
getMapFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which are maps.
getMapKeyField() - Method in class com.google.api.tools.framework.model.TypeRef
Returns the field for the key of a map type.
getMapOfMap() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
map<string, string> map_of_map = 2;
getMapOfMap() - Method in class com.google.api.tools.framework.yaml.TestMapValue
map<string, string> map_of_map = 2;
getMapOfMap() - Method in interface com.google.api.tools.framework.yaml.TestMapValueOrBuilder
map<string, string> map_of_map = 2;
getMapValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
map<string, string> map_value = 7;
getMapValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
map<string, string> map_value = 7;
getMapValue() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
map<string, string> map_value = 7;
getMapValue() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
optional string map_value = 1;
getMapValue() - Method in class com.google.api.tools.framework.yaml.TestMapValue
optional string map_value = 1;
getMapValue() - Method in interface com.google.api.tools.framework.yaml.TestMapValueOrBuilder
optional string map_value = 1;
getMapValueBytes() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
optional string map_value = 1;
getMapValueBytes() - Method in class com.google.api.tools.framework.yaml.TestMapValue
optional string map_value = 1;
getMapValueBytes() - Method in interface com.google.api.tools.framework.yaml.TestMapValueOrBuilder
optional string map_value = 1;
getMapValueField() - Method in class com.google.api.tools.framework.model.TypeRef
Returns the field for a value of a map type.
getMessage() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets the request message this configuration is associated with.
getMessage() - Method in class com.google.api.tools.framework.model.Diag
 
getMessageFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which have message type.
getMessages() - Method in class com.google.api.tools.framework.model.ProtoContainerElement
Returns the messages.
getMessageType() - Method in class com.google.api.tools.framework.model.TypeRef
If this is a message type, returns the message, otherwise fails.
getMethodAnnotation(Extension<DescriptorProtos.MethodOptions, T>) - Method in class com.google.api.tools.framework.model.Method.MethodDescriptor
Returns a method-level annotation, or null if it is a stream.
getMethodKind() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets the http method kind.
getMethodName() - Method in enum com.google.api.tools.framework.aspects.http.model.RestKind
 
getMethods() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Returns the methods associated with this collection.
getMethods() - Method in class com.google.api.tools.framework.model.Interface
Returns the methods.
getModel() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Returns the model to which the aspect is linked.
getModel() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
 
getModel() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
 
getModel() - Method in class com.google.api.tools.framework.model.Element
Returns the model associated with this element.
getModel() - Method in class com.google.api.tools.framework.model.Model
 
getModel() - Method in class com.google.api.tools.framework.model.ProtoElement
Returns the model.
getModel() - Method in class com.google.api.tools.framework.model.ProtoFile
 
getModel() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Returns the model.
getMutableMapConfig() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
map<string, .test.yaml.TestMapValue> map_config = 2;
getMutableMapOfMap() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
map<string, string> map_of_map = 2;
getMutableMapValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
map<string, string> map_value = 7;
getMutableNestedMapValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
map<string, .model.ConfigSourceTest.NestedConfig> nested_map_value = 8;
getName() - Method in class com.google.api.tools.framework.aspects.LintRule
Gets the name of the rule used in diagnosis.
getName() - Method in class com.google.api.tools.framework.model.Oneof
Gets the name of the oneof.
getName() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
optional string name = 1;
getName() - Method in class com.google.api.tools.framework.yaml.TestConfig
optional string name = 1;
getName() - Method in interface com.google.api.tools.framework.yaml.TestConfigOrBuilder
optional string name = 1;
getNameBytes() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
optional string name = 1;
getNameBytes() - Method in class com.google.api.tools.framework.yaml.TestConfig
optional string name = 1;
getNameBytes() - Method in interface com.google.api.tools.framework.yaml.TestConfigOrBuilder
optional string name = 1;
getNestedConfig() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
getNestedConfig() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
getNestedConfig() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
getNestedConfigBuilder() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
getNestedConfigOrBuilder() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
getNestedConfigOrBuilder() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
getNestedConfigOrBuilder() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
getNestedMapValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
map<string, .model.ConfigSourceTest.NestedConfig> nested_map_value = 8;
getNestedMapValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
map<string, .model.ConfigSourceTest.NestedConfig> nested_map_value = 8;
getNestedMapValue() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
map<string, .model.ConfigSourceTest.NestedConfig> nested_map_value = 8;
getNestedRepeatedInt32Value(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32Value(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32Value(int) - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfigOrBuilder
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32ValueCount() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32ValueCount() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32ValueCount() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfigOrBuilder
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32ValueList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32ValueList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
repeated int32 nested_repeated_int32_value = 2;
getNestedRepeatedInt32ValueList() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfigOrBuilder
repeated int32 nested_repeated_int32_value = 2;
getNestedStringValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
optional string nested_string_value = 1;
getNestedStringValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
optional string nested_string_value = 1;
getNestedStringValue() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfigOrBuilder
optional string nested_string_value = 1;
getNestedStringValueBytes() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
optional string nested_string_value = 1;
getNestedStringValueBytes() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
optional string nested_string_value = 1;
getNestedStringValueBytes() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfigOrBuilder
optional string nested_string_value = 1;
getNonCyclicFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which have non-cyclic types.
getNonMessageFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which have non-message type.
getNonOneofScopedFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which are not oneof-scoped.
getNonRepeatedFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which are not repeated.
getNormalizedConfig() - Method in class com.google.api.tools.framework.model.Model
Returns the normalized service config
getNumber() - Method in class com.google.api.tools.framework.model.EnumValue
Return the number of the enum value.
getNumber() - Method in class com.google.api.tools.framework.model.Field
Returns the field number.
getNumber() - Method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
 
getOneof() - Method in class com.google.api.tools.framework.model.Field
Returns a oneof associated with this field, or null if none.
getOneofs() - Method in class com.google.api.tools.framework.model.MessageType
Returns all oneofs associated with this type.
getOneofs(DescriptorProtos.DescriptorProto) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOneofScopedFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which are oneof-scoped.
getOptions() - Method in class com.google.api.tools.framework.model.Method.MethodDescriptor
Returns the method's options as a map
getOptions(DescriptorProtos.EnumDescriptorProto) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.EnumDescriptorProto, boolean) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.EnumValueDescriptorProto) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.EnumValueDescriptorProto, boolean) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.FieldDescriptorProto) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.FieldDescriptorProto, boolean) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.DescriptorProto) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.DescriptorProto, boolean) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.MethodDescriptorProto) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.MethodDescriptorProto, boolean) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.ServiceDescriptorProto) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions(DescriptorProtos.ServiceDescriptorProto, boolean) - Static method in class com.google.api.tools.framework.processors.normalizer.DescriptorNormalization
 
getOptions() - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
Returns options.
getOutputMessage() - Method in class com.google.api.tools.framework.model.Method
Helper for getting the methods output message.
getOutputType() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Get the output type of the underlying method.
getOutputType() - Method in class com.google.api.tools.framework.model.Method
Returns the output type.
getOutputTypeName() - Method in class com.google.api.tools.framework.model.Method.MethodDescriptor
Returns the type name of the output message
getParamName() - Method in class com.google.api.tools.framework.model.FieldSelector
Returns the HTTP parameter name of this selector.
getParamSelectors() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets fields which are bound via parameters.
getParent() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Returns the parent collection, or null if none.
getParent() - Method in class com.google.api.tools.framework.model.ProtoElement
Returns the parent, or null if this a root (a proto file).
getParserForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
getParserForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
getParserForType() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
getParserForType() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
getPath() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets the path as a list of segments.
getPath() - Method in class com.google.api.tools.framework.model.ExtensionPool.Extension
 
getPathSelectors() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets the fields which are bound via the path.
getPattern(Element) - Method in class com.google.api.tools.framework.model.DiagSuppressor
 
getPlatformExtensions() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Get the extension registry to use for processing service config.
getPrimaryRestMethod(Method) - Static method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Delivers the primary REST method associated with the given RPC method.
getPrimitiveTypeName() - Method in class com.google.api.tools.framework.model.TypeRef
If this is a primitive type, returns the proto type name, otherwise fails.
getProto() - Method in class com.google.api.tools.framework.model.EnumType
Returns the underlying proto representation.
getProto() - Method in class com.google.api.tools.framework.model.EnumValue
Returns the underlying proto representation.
getProto() - Method in class com.google.api.tools.framework.model.ExtensionPool.Extension
 
getProto() - Method in class com.google.api.tools.framework.model.Field
Returns the underlying proto representation.
getProto() - Method in class com.google.api.tools.framework.model.Interface
Returns the underlying proto representation.
getProto() - Method in class com.google.api.tools.framework.model.MessageType
Returns the underlying proto representation.
getProto() - Method in class com.google.api.tools.framework.model.ProtoFile
Returns the file descriptor proto.
getReachableFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns the fields reachable with the active scoper.
getReachableInterfaces() - Method in class com.google.api.tools.framework.model.ProtoFile
Returns the interfaces reachable with active scoper.
getReachableMethods() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Returns the methods associated with this collection and reachable with the current scoper.
getReachableMethods() - Method in class com.google.api.tools.framework.model.Interface
Returns the methods reachable with the active scoper.
getReachableRestVersions(Model) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Return the list of API versions for all reachable API methods.
getReachableValues() - Method in class com.google.api.tools.framework.model.EnumType
Returns the enum values, ProtoElement.isReachable() of which is true.
getRelativeFilePath() - Method in class com.google.api.tools.framework.aspects.documentation.source.FileInclusion
Returns the included file path relative to the root of data files.
getRepeatedFields() - Method in class com.google.api.tools.framework.model.MessageType
Returns all fields which are repeated.
getRepeatedNestedConfig(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfig(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfig(int) - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigBuilder(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigBuilderList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigCount() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigCount() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigCount() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigList() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigOrBuilder(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigOrBuilder(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigOrBuilder(int) - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigOrBuilderList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigOrBuilderList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedNestedConfigOrBuilderList() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
getRepeatedStringValue(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
getRepeatedStringValue(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated string repeated_string_value = 5;
getRepeatedStringValue(int) - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated string repeated_string_value = 5;
getRepeatedStringValueBytes(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
getRepeatedStringValueBytes(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated string repeated_string_value = 5;
getRepeatedStringValueBytes(int) - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated string repeated_string_value = 5;
getRepeatedStringValueCount() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
getRepeatedStringValueCount() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated string repeated_string_value = 5;
getRepeatedStringValueCount() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated string repeated_string_value = 5;
getRepeatedStringValueList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
getRepeatedStringValueList() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
repeated string repeated_string_value = 5;
getRepeatedStringValueList() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
repeated string repeated_string_value = 5;
getRequestStreaming() - Method in class com.google.api.tools.framework.model.Method
Returns true if request is streamed.
getResourceType() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Returns the resource type, or null, if none assigned.
getResponseStreaming() - Method in class com.google.api.tools.framework.model.Method
Returns true if response is streamed.
getRestCollectionName() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the rest collection name.
getRestCollectionNameNoVersion() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the rest collection name without version prefix.
getRestCustomMethodName() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the rest custom method name.
getRestFullMethodName() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the full REST method name.
getRestFullMethodNameNoVersion() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the full rest name without the version string.
getRestKind() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the rest kind.
getRestMethod() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Returns the associated rest method.
getRestMethodName() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the rest method name.
getRoots() - Method in class com.google.api.tools.framework.model.Model
Get the roots collected for the model.
getScopedDescription(ProtoElement) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Get the description of the element scoped to the visibility as currently set in the model.
getScopedDescription(ProtoElement, boolean) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
 
getScopedToplevelPages(Model) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Get the documentation pages scoped to the visibility as currently set in the model.
getScoper() - Method in class com.google.api.tools.framework.model.Model
Gets the scoper used for this model.
getSectionLevel() - Method in class com.google.api.tools.framework.aspects.documentation.source.FileInclusion
Returns the section level the file should be included.
getSections() - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceRoot
Returns sections of the document.
getSerializedSize() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
getSerializedSize() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
getSerializedSize() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
getSerializedSize() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
getServiceBaseName(String) - Static method in class com.google.api.tools.framework.tools.util.OutputUtil
Returns the service base name as derived from the full service name, or null if derivation is not successful.
getServiceConfig() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
getServiceConfig() - Method in class com.google.api.tools.framework.model.Model
Returns the associated service config raw value.
getServiceConfig() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
getServiceConfig() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
getServiceConfigSource() - Method in class com.google.api.tools.framework.model.Model
Returns the associated service config source.
getSimpleName() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
 
getSimpleName() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
 
getSimpleName() - Method in class com.google.api.tools.framework.model.Element
Returns a simple name for the element.
getSimpleName() - Method in class com.google.api.tools.framework.model.Model
 
getSimpleName() - Method in class com.google.api.tools.framework.model.ProtoElement
Returns the simple name.
getSimpleRestCollectionName() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the rest collection name.
getSortedExtensionsByTypeName(String) - Method in class com.google.api.tools.framework.model.ExtensionPool
Returns an Iterable of extension names to ExtensionPool.Extension.
getStringValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional string string_value = 1;
getStringValue() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
optional string string_value = 1;
getStringValue() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
optional string string_value = 1;
getStringValue(YamlReaderHelper, Node) - Static method in class com.google.api.tools.framework.yaml.NodeConverterUtils
 
getStringValueBytes() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional string string_value = 1;
getStringValueBytes() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
optional string string_value = 1;
getStringValueBytes() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
optional string string_value = 1;
getSubPath() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.FieldSegment
 
getSymbolTable() - Method in class com.google.api.tools.framework.model.Model
Returns the symbolTable
getSyntax() - Method in class com.google.api.tools.framework.model.ProtoElement
Gets the syntax in which the element was defined.
getSyntax() - Method in class com.google.api.tools.framework.model.ProtoFile
 
getTag() - Method in class com.google.api.tools.framework.model.Field
Returns the field tag.
getText() - Method in class com.google.api.tools.framework.aspects.documentation.source.SectionHeader
Returns the header text.
getToolOptionsFromCommandLine(CommandLine, ImmutableList<ToolOptions.Option<?>>) - Static method in class com.google.api.tools.framework.tools.ToolOptions
Values passed by user on the command line is converted into appropriate type and is filled into an a new instance ToolOptions, which is returned back to the caller.
getTopLevelContents() - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceRoot
Returns top level contents of the document.
getToplevelPages(Model) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Get the documentation pages from given model.
getType() - Method in class com.google.api.tools.framework.model.EnumValue
Gets the type.
getType() - Method in class com.google.api.tools.framework.model.Field
Returns the resolved type
getType() - Method in class com.google.api.tools.framework.model.FieldSelector
Returns the type of this field selector, i.e.
getTypeNameInSymbolTable(String) - Static method in class com.google.api.tools.framework.model.SymbolTable
Returns the type name used to store in symbol table.
getUnknownFields() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
getUnknownFields() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
getUnknownFields() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
getUnknownFields() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
getValueDescriptor() - Method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
 
getValues() - Method in class com.google.api.tools.framework.model.EnumType
Returns the values.
getVersions() - Method in class com.google.api.tools.framework.aspects.versioning.model.RestVersionsAttribute
 
getVersionWithDefault() - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
 
getVersionWithDefault() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns the full name with version prefix stripped if the full name has it.
getVisibilityLabels() - Method in class com.google.api.tools.framework.model.Model
Returns the visibility labels the caller wants to apply to this model.
getVisibleBodySelectors() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets visible fields which are bound via body.
getVisibleFields() - Method in class com.google.api.tools.framework.model.Oneof
Gets all visible fields belonging to this oneof.
getVisibleParamSelectors() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets visible fields which are bound via parameters.
getVisiblePathSelectors() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Gets visible fields which are bound via the path.
getVisibleProto() - Method in class com.google.api.tools.framework.model.EnumType
Returns a proto representation that includes visible values only.
getWellKnownType() - Method in class com.google.api.tools.framework.model.TypeRef
Returns the well-known type kind, or NONE if its not one.
getWireType() - Method in class com.google.api.tools.framework.model.Field
Returns the wired type encoding for the field.
group(Doc.GroupKind, Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Encloses document child in a group.
group(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Encloses document child in an Doc.GroupKind.AUTO group.
group() - Method in class com.google.api.tools.framework.snippet.Doc
Encloses the document in an Doc.GroupKind.AUTO group.
group(Doc.GroupKind) - Method in class com.google.api.tools.framework.snippet.Doc
Encloses the document in an group of a given kind.

H

hang(int, Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Performs a hanging indentation of document child with an indent of indent spaces.
hang(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Performs a hanging indentation of document child with an indent of Doc.DEFAULT_INDENT spaces.
hang(int) - Method in class com.google.api.tools.framework.snippet.Doc
Performs a hanging indentation of the document with an indent of indent spaces.
hang() - Method in class com.google.api.tools.framework.snippet.Doc
Performs a hanging indentation of the document with an indent of Doc.DEFAULT_INDENT spaces.
HAS_MESSAGE_TYPE - Static variable in class com.google.api.tools.framework.model.Field
Determines whether field has message type.
hasAttribute(Key<?>) - Method in class com.google.api.tools.framework.model.Element
Checks whether an attribute is present.
hasEnums() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
Returns true if this system parameter has enums.
hasErrors() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
hasErrors() - Method in class com.google.api.tools.framework.importers.swagger.SwaggerToService
Returns true if there are any diagnosed proper errors; false otherwise
hasErrors() - Method in class com.google.api.tools.framework.model.BoundedDiagCollector
 
hasErrors() - Method in interface com.google.api.tools.framework.model.DiagCollector
Returns true if there are any diagnosed proper errors; false otherwise.
hasErrors() - Method in class com.google.api.tools.framework.model.SimpleDiagCollector
 
hasErrors() - Method in interface com.google.api.tools.framework.tools.configgen.ConfigGenerator
Returns true if there were any errors during the run; false otherwise.
hasErrors() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
hasErrors() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
Check if there are any errors.
hasErrors() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Check if there are any errors.
hashCode() - Method in class com.google.api.tools.framework.model.FieldSelector
 
hashCode() - Method in class com.google.api.tools.framework.model.SimpleLocation
 
hashCode() - Method in class com.google.api.tools.framework.model.TypeRef
 
hasHiddenValue() - Method in class com.google.api.tools.framework.model.EnumType
Returns whether any of the enum's values are hidden.
hasNestedConfig() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
hasNestedConfig() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
hasNestedConfig() - Method in interface com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfigOrBuilder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
hasUnreachableDescendants(ProtoElement) - Method in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
 
hasUnreachableDescendants(ProtoElement) - Method in interface com.google.api.tools.framework.model.Scoper
Returns true if the given message or enum type has any hidden, non-reachable descendants, e.g.
hgroup(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Encloses document child in an Doc.GroupKind.HORIZONTAL group.
hgroup() - Method in class com.google.api.tools.framework.snippet.Doc
Encloses the document in an Doc.GroupKind.HORIZONTAL group.
HttpAttribute - Class in com.google.api.tools.framework.aspects.http.model
Describes the mapping of of a method to HTTP.
HttpAttribute(HttpRule, MethodKind, MessageType, ImmutableList<HttpAttribute.PathSegment>, String, boolean, ImmutableList<HttpAttribute>, boolean) - Constructor for class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Constructs an http binding for the given method kind, message, path, and body.
HttpAttribute.FieldSegment - Class in com.google.api.tools.framework.aspects.http.model
A path segment representing a field reference.
HttpAttribute.LiteralSegment - Class in com.google.api.tools.framework.aspects.http.model
A path segment representing a literal.
HttpAttribute.PathSegment - Class in com.google.api.tools.framework.aspects.http.model
Base class for path segments.
HttpAttribute.WildcardSegment - Class in com.google.api.tools.framework.aspects.http.model
A path segment representing a wildcard, which is bounded (matches 1 segment) or unbounded (matches 1 or more segments).
HttpConfigAspect - Class in com.google.api.tools.framework.aspects.http
Configuration aspect for the http binding.
HttpTemplateParser - Class in com.google.api.tools.framework.aspects.http
HTTP path template parser.
HttpTemplateParser(DiagCollector, Location, String, int) - Constructor for class com.google.api.tools.framework.aspects.http.HttpTemplateParser
Constructs a template parser.

I

indentAt(int, Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Sets the indentation level of document child to indent columns.
indentAt(int) - Method in class com.google.api.tools.framework.snippet.Doc
Sets the indentation level of the document to indent columns.
inputName() - Method in class com.google.api.tools.framework.snippet.Location
The name of the input.
inScope(ProtoElement) - Method in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
Determines whether the given proto element is in scope.
Instruction - Class in com.google.api.tools.framework.aspects.documentation.source
Represents Docgen instructions other than file inclusion: (== code arg ==)
Instruction(String, String, int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.Instruction
 
Interface - Class in com.google.api.tools.framework.model
Represents a interface declarations
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
internalGetMapField(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
internalGetMapField(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
internalGetMapField(int) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
internalGetMapField(int) - Method in class com.google.api.tools.framework.yaml.TestConfig
 
internalGetMapField(int) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
internalGetMapField(int) - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
internalGetMutableMapField(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
internalGetMutableMapField(int) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
internalGetMutableMapField(int) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
internalGetValueMap() - Static method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
 
invocation(int, Doc, Iterable<Doc>) - Static method in class com.google.api.tools.framework.snippet.Doc
Build a function invocation as
invocation(Doc, Iterable<Doc>) - Static method in class com.google.api.tools.framework.snippet.Doc
Build a function invocation with indentation of 4 for arguments.
IS_CYCLIC - Static variable in class com.google.api.tools.framework.model.Field
Determines whether field is cyclic.
IS_MAP - Static variable in class com.google.api.tools.framework.model.Field
Determines whether field is a map.
IS_ONEOF_SCOPED - Static variable in class com.google.api.tools.framework.model.Field
Determines whether field is part of a oneof.
IS_REPEATED - Static variable in class com.google.api.tools.framework.model.Field
Determines whether field is repeated.
isApplicable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
 
isApplicable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.context.ContextConfigAspect
 
isApplicable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
isApplicable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
 
isApplicable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
Predicate determining whether a rule of the aspect is applicable to the element.
isApplicable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.systemparameter.SystemParameterConfigAspect
 
isApplicable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
isCyclic() - Method in class com.google.api.tools.framework.model.MessageType
Returns true if this message or one of its sub-messages refers back to this message.
isCyclic() - Method in class com.google.api.tools.framework.model.TypeRef
Return true of this is a cyclic message type.
isDeprecated() - Method in class com.google.api.tools.framework.model.EnumType
Returns true if this object represents something that is configured as deprecated.
isDeprecated() - Method in class com.google.api.tools.framework.model.EnumValue
Returns true if this object represents something that is configured as deprecated.
isDeprecated() - Method in class com.google.api.tools.framework.model.Field
Returns true if this object represents something that is configured as deprecated.
isDeprecated() - Method in class com.google.api.tools.framework.model.Interface
Returns true if this object represents something that is configured as deprecated.
isDeprecated() - Method in class com.google.api.tools.framework.model.MessageType
Returns true if this object represents something that is configured as deprecated.
isDeprecated() - Method in class com.google.api.tools.framework.model.Method
Returns true if this object represents something that is configured as deprecated.
isDeprecated() - Method in class com.google.api.tools.framework.model.ProtoElement
Returns true if this object represents something that is configured as deprecated.
isDeprecated() - Method in class com.google.api.tools.framework.model.ProtoFile
Returns true if this object represents something that is configured as deprecated.
isEmpty(Node) - Static method in class com.google.api.tools.framework.yaml.NodeConverterUtils
 
isEnum() - Method in class com.google.api.tools.framework.model.TypeRef
Returns true of this is an enum type.
isExperimentEnabled(String) - Method in class com.google.api.tools.framework.model.Model
Checks whether a given experiment is enabled.
isExtensible() - Method in class com.google.api.tools.framework.model.MessageType
Returns true if this type can be extended.
isFromIdl() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Return true if the http binding information is from IDL.
isHelpFlagSet(CommandLine) - Static method in class com.google.api.tools.framework.tools.ToolOptions
Check if help flag is set by user.
isIdempotent() - Method in enum com.google.api.tools.framework.aspects.http.model.MethodKind
 
isInitialized() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
isInitialized() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
isInitialized() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
isInitialized() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
isInitialized() - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
isInitialized() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
isInitialized() - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
isInitialized() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
isMap() - Method in class com.google.api.tools.framework.model.TypeRef
Return trues if this type represents a map.
isMapEntry() - Method in class com.google.api.tools.framework.model.MessageType
Returns true if the type is generated for Map entry.
isMessage() - Method in class com.google.api.tools.framework.model.TypeRef
Returns true of this is a message type.
isOptional() - Method in class com.google.api.tools.framework.model.Field
Returns true if the field is optional.
isPacked() - Method in class com.google.api.tools.framework.model.Field
Returns true if the field is packed.
isPrefixOf(FieldSelector) - Method in class com.google.api.tools.framework.model.FieldSelector
Check whether this selector is a prefix of another selector.
isPrimary() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Returns true if this is the primary binding.
isPrimitive() - Method in class com.google.api.tools.framework.model.TypeRef
Returns true if this is a primitive type.
isPrivateService() - Method in class com.google.api.tools.framework.model.Model
Returns true if the service is a private API, corp API, or on sandbox.googles.com non production environent.
isReachable() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Returns if the rest method reachable with current scoper.
isReachable(ProtoElement) - Method in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
 
isReachable() - Method in class com.google.api.tools.framework.model.ProtoElement
Return true if the element is reachable with the current scoper.
isReachable(ProtoElement) - Method in interface com.google.api.tools.framework.model.Scoper
Returns true if the element is reachable with this scoper.
isRepeated() - Method in class com.google.api.tools.framework.model.Field
Returns true if the field is repeated.
isRepeated() - Method in class com.google.api.tools.framework.model.TypeRef
Returns true of the field is repeated.
isRequired() - Method in class com.google.api.tools.framework.model.Field
Returns true if the field is required (proto2).
isSource() - Method in class com.google.api.tools.framework.model.ProtoFile
Returns true if this file is a proper source, in contrast to a dependency.
Issue() - Constructor for class com.google.api.tools.framework.snippet.SnippetSet.Issue
 
isSuppressedDiag(Diag, Element) - Method in class com.google.api.tools.framework.model.Model
Checks whether the given diagnosis is suppressed for the given element.
isSuppressedWarning(Diag, Element) - Method in class com.google.api.tools.framework.model.DiagSuppressor
Checks whether the given diagnosis is suppressed for the given element.
isSystemParameter(String) - Static method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
Returns true if the parameter is a system parameter.
isTrailingCustomVerb() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.LiteralSegment
 
isUnbounded() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.WildcardSegment
 
isValidApiVersion(String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Return true if apiVersion is a valid semantic version (http://semver.org).
isValidMajorVersion(String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Return true if apiVersion has a valid major version format.
isWhitespace() - Method in class com.google.api.tools.framework.snippet.Doc
Determines whether the document is empty except of whitespace.

J

join(Doc...) - Static method in class com.google.api.tools.framework.snippet.Doc
Appends documents, placing a Doc.BREAK between adjacent documents.
join(Iterable<Doc>) - Static method in class com.google.api.tools.framework.snippet.Doc
Appends documents, placing a Doc.BREAK between adjacent documents.
joinWith(Doc, Doc...) - Static method in class com.google.api.tools.framework.snippet.Doc
Appends documents, placing the separator separator between adjacent documents.
joinWith(Doc, Iterable<Doc>) - Static method in class com.google.api.tools.framework.snippet.Doc
Appends documents, placing the separator separator between adjacent documents.
JSON_OUT - Static variable in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 

K

KEY - Static variable in class com.google.api.tools.framework.aspects.authentication.model.AuthAttribute
A key to access authentication binding attributes.
KEY - Static variable in class com.google.api.tools.framework.aspects.documentation.model.DeprecationDescriptionAttribute
Key used to access this attribute.
KEY - Static variable in class com.google.api.tools.framework.aspects.documentation.model.DocumentationPagesAttribute
Key used to access this attribute.
KEY - Static variable in class com.google.api.tools.framework.aspects.documentation.model.ElementDocumentationAttribute
Key used to access this attribute.
KEY - Static variable in class com.google.api.tools.framework.aspects.documentation.model.PageAttribute
Key used to access this attribute.
KEY - Static variable in class com.google.api.tools.framework.aspects.documentation.model.ResourceAttribute
Key used to access this attribute.
KEY - Static variable in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
The key to access the collections of the model.
KEY - Static variable in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Key used to access this attribute.
KEY - Static variable in class com.google.api.tools.framework.aspects.versioning.model.RestVersionsAttribute
 
KEY - Static variable in class com.google.api.tools.framework.aspects.versioning.model.VersionAttribute
Key used to access this attribute.
KEY - Static variable in class com.google.api.tools.framework.aspects.versioning.VersionConfigAspect
 
KEY - Static variable in class com.google.api.tools.framework.model.stages.Linted
The key representing the linted stage.
KEY - Static variable in class com.google.api.tools.framework.model.stages.Merged
The key representing the resolved stage.
KEY - Static variable in class com.google.api.tools.framework.model.stages.Normalized
The key representing the normalized stage.
KEY - Static variable in class com.google.api.tools.framework.model.stages.Resolved
The key representing the resolved stage.
key() - Method in class com.google.api.tools.framework.tools.ToolOptions.Option
 

L

LANGLE - Static variable in class com.google.api.tools.framework.snippet.Doc
 
LBRACE - Static variable in class com.google.api.tools.framework.snippet.Doc
 
LBRACKET - Static variable in class com.google.api.tools.framework.snippet.Doc
 
lineNo() - Method in class com.google.api.tools.framework.snippet.Location
 
lint(ProtoElement) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation of linting an element.
lint(ProtoElement) - Method in interface com.google.api.tools.framework.model.ConfigAspect
Style checks the given element.
Linted - Class in com.google.api.tools.framework.model.stages
A marker class representing the stage that the model has been style checked (linted).
Linted() - Constructor for class com.google.api.tools.framework.model.stages.Linted
 
Linter - Class in com.google.api.tools.framework.processors.linter
Linter for IDL and service config.
Linter() - Constructor for class com.google.api.tools.framework.processors.linter.Linter
 
LintRule<E extends Element> - Class in com.google.api.tools.framework.aspects
Base class of lint rules, which log style violations.
LintRule(ConfigAspectBase, String, Class<E>) - Constructor for class com.google.api.tools.framework.aspects.LintRule
Constructs a lint rule applicable to the specified model element class.
lintWarning(String, Object, String, Object...) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Helper for subclasses to report a linter warning.
LiteralSegment(String) - Constructor for class com.google.api.tools.framework.aspects.http.model.HttpAttribute.LiteralSegment
 
LiteralSegment(String, boolean) - Constructor for class com.google.api.tools.framework.aspects.http.model.HttpAttribute.LiteralSegment
 
location() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
The location of this system parameter.
Location - Interface in com.google.api.tools.framework.model
An abstraction of a source location.
Location - Class in com.google.api.tools.framework.snippet
Represents a source location.
Location() - Constructor for class com.google.api.tools.framework.snippet.Location
 
location() - Method in class com.google.api.tools.framework.snippet.SnippetSet.Issue
The location of the issue.
lookupField(String) - Method in class com.google.api.tools.framework.model.MessageType
Looks up the field by its name.
lookupInterface(String) - Method in class com.google.api.tools.framework.model.SymbolTable
Get the interface by its full name.
lookupMatchingTypes(String, DescriptorProtos.FieldDescriptorProto.Type) - Method in class com.google.api.tools.framework.model.SymbolTable
Get the list of types that match the typeNamePattern and the kind.
lookupMethod(String) - Method in class com.google.api.tools.framework.model.Interface
Looks up a method by its name.
lookupMethodSimpleName(String) - Method in class com.google.api.tools.framework.model.SymbolTable
 
lookupType(String) - Method in class com.google.api.tools.framework.model.SymbolTable
Get the type by its full name.
lookupValue(String) - Method in class com.google.api.tools.framework.model.EnumType
Looks up the value by its name.
LPAREN - Static variable in class com.google.api.tools.framework.snippet.Doc
 

M

main(String[]) - Static method in class com.google.api.tools.framework.aspects.http.RestPatterns
Main entry point for generating a table of supported REST patterns.
main(String[]) - Static method in class com.google.api.tools.framework.tools.configgen.ServiceConfigGeneratorTool
 
MAJOR_VERSION_REGEX_PATTERN - Static variable in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
 
majorVersion() - Method in class com.google.api.tools.framework.aspects.versioning.model.VersionAttribute
The major version of the interface.
makeOptional() - Method in class com.google.api.tools.framework.model.TypeRef
Makes the given type to have cardinality optional.
makeRepeated() - Method in class com.google.api.tools.framework.model.TypeRef
Makes the given type to have cardinality repeated.
makeRequired() - Method in class com.google.api.tools.framework.model.TypeRef
Makes the given type to have cardinality required.
MAP_CONFIG_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.yaml.TestConfig
 
MAP_OF_MAP_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.yaml.TestMapValue
 
MAP_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
MAP_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.yaml.TestMapValue
 
MARKDOWN_LINK_REGEX - Static variable in class com.google.api.tools.framework.aspects.documentation.CommentReferenceResolver
 
matchingRule(ProtoElement) - Method in class com.google.api.tools.framework.aspects.ConfigRuleSet
Returns the matching rule for the element, or null, if no matching exists.
matchServiceNamePattern(String) - Static method in class com.google.api.tools.framework.aspects.util.DnsNameUtil
 
merge(ProtoElement) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation for merging an element; does nothing.
merge(ProtoElement) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
 
merge(ProtoElement) - Method in class com.google.api.tools.framework.aspects.versioning.VersionConfigAspect
 
merge(ProtoElement) - Method in interface com.google.api.tools.framework.model.ConfigAspect
Merges the config aspect with the given proto element.
Merged - Class in com.google.api.tools.framework.model.stages
A marker class representing the stage that merging of deployment config and annotations has happened.
Merged() - Constructor for class com.google.api.tools.framework.model.stages.Merged
 
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.authentication.AuthConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.context.ContextConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.control.ControlConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
Depends on documentation aspect via consumption of ResourceAttribute.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.naming.NamingConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.servicecontrol.ServiceControlConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.system.SystemConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.systemparameter.SystemParameterConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
Returns an empty list since this aspect does not depend on any other aspects.
mergeDependencies() - Method in class com.google.api.tools.framework.aspects.versioning.VersionConfigAspect
Returns dependencies.
mergeDependencies() - Method in interface com.google.api.tools.framework.model.ConfigAspect
Returns the types of aspects which must be run before this aspect during the merging phase.
mergeFrom(ConfigSource) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Merges values from the given config message into this builder.
mergeFrom(Message) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
mergeFrom(ConfigSource.NestedConfig) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
mergeFrom(Message) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
mergeFrom(ConfigSource.SomeConfig) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
mergeFrom(Message) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
mergeFrom(TestConfig) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
mergeFrom(Message) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
mergeFrom(TestMapValue) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
mergeFromWithProto3Semantics(ConfigSource) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Merges values from the given config source into this builder.
mergeNestedConfig(ConfigSource.NestedConfig) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
Merger - Class in com.google.api.tools.framework.processors.merger
A processor which establishes the Merged stage, in which service config and IDL are combined and validated.
Merger() - Constructor for class com.google.api.tools.framework.processors.merger.Merger
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
message() - Method in class com.google.api.tools.framework.snippet.SnippetSet.Issue
The message describing the issue.
MessageType - Class in com.google.api.tools.framework.model
Represents a message declaration.
Method - Class in com.google.api.tools.framework.model
Represents a method declaration.
Method.MethodDescriptor - Class in com.google.api.tools.framework.model
An adapter type for DescriptorProtos.MethodDescriptorProto.
METHOD_NAMESPACE - Static variable in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
MethodKind - Enum in com.google.api.tools.framework.aspects.http.model
The http method kind.
Model - Class in com.google.api.tools.framework.model
Model of an API service.
model - Variable in class com.google.api.tools.framework.tools.ToolDriverBase
 

N

NAME - Static variable in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
name() - Method in class com.google.api.tools.framework.tools.ToolOptions.Option
 
NAME_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.yaml.TestConfig
 
nameCandidates(String, String) - Static method in class com.google.api.tools.framework.model.SymbolTable
Returns the candidates for name resolution of a name within a container(e.g.
NamingConfigAspect - Class in com.google.api.tools.framework.aspects.naming
Config aspect for validating naming rules.
nest(int, Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Increases the indentation level of document child by indent columns.
nest(int) - Method in class com.google.api.tools.framework.snippet.Doc
Increases the indentation level of the document by indent columns.
nest(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Increase the indentation level of document child by Doc.DEFAULT_INDENT spaces.
nest() - Method in class com.google.api.tools.framework.snippet.Doc
Increase the indentation level of the document by Doc.DEFAULT_INDENT spaces.
NESTED_CONFIG_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
NESTED_MAP_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
NESTED_REPEATED_INT32_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
NESTED_STRING_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
newBuilder(Message) - Static method in class com.google.api.tools.framework.model.ConfigSource
Constructs a new empty builder, based on the given default instance for the underlying config message.
newBuilder() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
newBuilder(ConfigSource.NestedConfig) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
newBuilder() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
newBuilder(ConfigSource.SomeConfig) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
newBuilder() - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
newBuilder(TestConfig) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
newBuilder() - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
newBuilder(TestMapValue) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
newBuilderForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
newBuilderForType() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
newBuilderForType() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.api.tools.framework.yaml.TestConfig
 
newBuilderForType() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
newBuilderForType(GeneratedMessage.BuilderParent) - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
noConfig(MessageType) - Static method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Creates an empty binding for a method which is not exposed via http.
NodeConverterUtils - Class in com.google.api.tools.framework.yaml
Common utilities for doing type conversions on Nodes
NodeConverterUtils() - Constructor for class com.google.api.tools.framework.yaml.NodeConverterUtils
 
noFlag() - Method in class com.google.api.tools.framework.tools.ToolOptions.Option
 
normalize(ProtoElement, Service.Builder) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation to normalize an element; does nothing.
normalize(ProtoElement, Service.Builder) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
 
normalize(ProtoElement, Service.Builder) - Method in interface com.google.api.tools.framework.model.ConfigAspect
Normalizes the service config w.r.t.
Normalized - Class in com.google.api.tools.framework.model.stages
A marker class representing the stage that config normalization has been performed on the service.
Normalized() - Constructor for class com.google.api.tools.framework.model.stages.Normalized
 
Normalizer - Class in com.google.api.tools.framework.processors.normalizer
A processor that establishes the Normalized stage.
Normalizer() - Constructor for class com.google.api.tools.framework.processors.normalizer.Normalizer
 

O

of(Descriptors.Descriptor, List<RuleType>, Model) - Static method in class com.google.api.tools.framework.aspects.ConfigRuleSet
Constructs a rule set for the given type and rules.
of() - Static method in class com.google.api.tools.framework.model.FieldSelector
Construct an empty field selector.
of(Field) - Static method in class com.google.api.tools.framework.model.FieldSelector
Construct a field selector for the given field.
of(ImmutableList<Field>) - Static method in class com.google.api.tools.framework.model.FieldSelector
Construct a field selector for the given fields.
of(DescriptorProtos.FieldDescriptorProto.Type) - Static method in class com.google.api.tools.framework.model.TypeRef
Creates a reference to a primitive type, with default cardinality optional.
of(MessageType) - Static method in class com.google.api.tools.framework.model.TypeRef
Creates a reference to a message type, with default cardinality optional.
of(EnumType) - Static method in class com.google.api.tools.framework.model.TypeRef
Creates a reference to an enum type, with default cardinality optional.
Oneof - Class in com.google.api.tools.framework.model
Represents an oneof declaration.
oneofScoped() - Method in class com.google.api.tools.framework.model.Field
Returns true if field is oneof-scoped.
onErrorsExit() - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
Report any errors and exit if there were some.
onErrorsExit() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Report any errors and exit if there were some.
OPEN_API - Static variable in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
Option() - Constructor for class com.google.api.tools.framework.tools.ToolOptions.Option
 
options - Variable in class com.google.api.tools.framework.tools.GenericToolDriverBase
 
OUTPUT_ENDPOINT - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
OutputUtil - Class in com.google.api.tools.framework.tools.util
Utility functions for writing various objects to an output file.
OutputUtil() - Constructor for class com.google.api.tools.framework.tools.util.OutputUtil
 

P

page() - Method in class com.google.api.tools.framework.aspects.documentation.model.PageAttribute
The name of the page this element is associated with.
PageAttribute - Class in com.google.api.tools.framework.aspects.documentation.model
Attribute for an associated documentation page.
PageAttribute() - Constructor for class com.google.api.tools.framework.aspects.documentation.model.PageAttribute
 
paramName() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
The name of this system parameter.
parens(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Wraps document child in parentheses.
parens() - Method in class com.google.api.tools.framework.snippet.Doc
Wraps the document in parentheses.
parse() - Method in class com.google.api.tools.framework.aspects.documentation.source.SourceParser
Parses given Markdown source and generates model of SourceRoot.
parse() - Method in class com.google.api.tools.framework.aspects.http.HttpTemplateParser
Runs the parser.
parse(SnippetSet.InputSupplier, String) - Static method in class com.google.api.tools.framework.snippet.SnippetSet
Parses the input and returns a snippet set.
parse(File) - Static method in class com.google.api.tools.framework.snippet.SnippetSet
Parses the input from a file and returns a snippet set.
parseDelimitedFrom(InputStream) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseDelimitedFrom(InputStream) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseDelimitedFrom(InputStream) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseDelimitedFrom(InputStream) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(ByteString) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(byte[]) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(InputStream) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(CodedInputStream) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parseFrom(ByteString) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(byte[]) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(InputStream) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(CodedInputStream) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parseFrom(ByteString) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(byte[]) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(InputStream) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(CodedInputStream) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parseFrom(ByteString) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(byte[]) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(InputStream) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(CodedInputStream) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
parser() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
parser() - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
parser() - Static method in class com.google.api.tools.framework.yaml.TestConfig
 
parser() - Static method in class com.google.api.tools.framework.yaml.TestMapValue
 
PathSegment() - Constructor for class com.google.api.tools.framework.aspects.http.model.HttpAttribute.PathSegment
 
prettyPrint(StringBuilder, int) - Method in class com.google.api.tools.framework.snippet.Doc
Pretty prints the document into a StringBuilder, formatted for width columns.
prettyPrint(StringBuilder) - Method in class com.google.api.tools.framework.snippet.Doc
Pretty prints the document into a StringBuilder, formatted for DEFAULT_WIDTH columns.
prettyPrint(int) - Method in class com.google.api.tools.framework.snippet.Doc
Pretty prints the document, formatted for width columns.
prettyPrint() - Method in class com.google.api.tools.framework.snippet.Doc
Pretty prints the document, formatted for DEFAULT_WIDTH columns.
printUsage(String, Options) - Static method in class com.google.api.tools.framework.tools.ToolOptions
Print usage statement.
process(String, Location, Element) - Method in class com.google.api.tools.framework.aspects.documentation.CommentReferenceResolver
 
process(String, Location, Element) - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationProcessorSet
Processes given documentation source by the registered processor chain.
process() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
process() - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
Method implementing the actual tool processing.
Processor - Interface in com.google.api.tools.framework.model
Interface for a processor which performs an analysis or transformation task on the model.
PROD_SERVICE_CONTROL - Static variable in class com.google.api.tools.framework.aspects.control.model.ControlConfigUtil
 
PROJECT_ID - Static variable in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
PROTO_SOURCES - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
ProtoContainerElement - Class in com.google.api.tools.framework.model
Base class of protocol elements which are containers for messages and enums (proto files and messages).
ProtoContainerElement(ProtoElement, String, String) - Constructor for class com.google.api.tools.framework.model.ProtoContainerElement
Creates the container element, given its parent and (simple) name, and a list of messages and enum types.
ProtoElement - Class in com.google.api.tools.framework.model
Base class of model elements which stem from protocol buffers.
ProtoElement(ProtoElement, String, String) - Constructor for class com.google.api.tools.framework.model.ProtoElement
Creates the element, given its parent and (simple) name.
ProtoFieldValueParserProto - Class in com.google.api.tools.framework.yaml
 
ProtoFieldValueParserProto.TestEnum - Enum in com.google.api.tools.framework.yaml
Protobuf enum test.ProtoFieldValueParser.TestEnum
ProtoFile - Class in com.google.api.tools.framework.model
Represents a protocol buffer file.
punctuate(Doc, List<Doc>) - Static method in class com.google.api.tools.framework.snippet.Doc
Appends a separator to all documents except the last one in a list.
putAllMapConfig(Map<String, TestMapValue>) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
map<string, .test.yaml.TestMapValue> map_config = 2;
putAllMapOfMap(Map<String, String>) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
map<string, string> map_of_map = 2;
putAllMapValue(Map<String, String>) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
map<string, string> map_value = 7;
putAllNestedMapValue(Map<String, ConfigSource.NestedConfig>) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
map<string, .model.ConfigSourceTest.NestedConfig> nested_map_value = 8;
putAttribute(Key<T>, T) - Method in class com.google.api.tools.framework.model.Element
Puts an attribute value, returning the old one.

R

RANGLE - Static variable in class com.google.api.tools.framework.snippet.Doc
 
RBRACE - Static variable in class com.google.api.tools.framework.snippet.Doc
 
RBRACKET - Static variable in class com.google.api.tools.framework.snippet.Doc
 
reachable(Iterable<E>) - Method in class com.google.api.tools.framework.model.Model
Returns the iterable scoped to the reachable elements.
readConfig(DiagCollector, String, String, Map<String, Message>) - Static method in class com.google.api.tools.framework.yaml.YamlReader
Reads a configuration from Yaml, reporting errors to the diag collector.
readConfig(DiagCollector, String, String) - Static method in class com.google.api.tools.framework.yaml.YamlReader
Same as YamlReader.readConfig(DiagCollector, String, String, Map) but works with a default assignment of config types which are known to the framework.
readInput(String) - Method in interface com.google.api.tools.framework.snippet.SnippetSet.InputSupplier
Resolve the given snippet set name into a sequence of source lines.
reasonForUnreachable - Variable in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.google.api.tools.framework.model.testdata.ConfigSource
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.google.api.tools.framework.yaml.ProtoFieldValueParserProto
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.google.api.tools.framework.yaml.TestConfigProto
 
registerAspects() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
registerAspects() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Registers aspects for this tool.
registerConfigAspect(ConfigAspect) - Method in class com.google.api.tools.framework.model.Model
Registers the configuration aspect with the model.
registerLintRule(LintRule<E>) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Registers a linting rule with this aspect.
registerLintRuleName(String...) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Registers name of a lint rule.
registerProcessor(Processor) - Method in class com.google.api.tools.framework.model.Model
Registers a stage processor.
registerProcessors() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
registerProcessors() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Registers processors for this tool.
registerStandardConfigAspects(Model) - Static method in class com.google.api.tools.framework.setup.StandardSetup
Registers all standard config aspects.
registerStandardProcessors(Model) - Static method in class com.google.api.tools.framework.setup.StandardSetup
Registers all standard processors.
removeAttribute(Key<T>) - Method in class com.google.api.tools.framework.model.Element
Removes an attribute value, returning the old one.
removeCrossReference(String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Given a documentation string, replace the cross reference links with reference text.
removeRepeatedNestedConfig(int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
REPEATED_NESTED_CONFIG_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
REPEATED_STRING_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
reportBadSelectors(DiagCollector, ConfigLocationResolver, String) - Method in class com.google.api.tools.framework.aspects.ConfigRuleSet
Validate selector syntax and report errors.
reportBadSelectors(DiagCollector, ConfigLocationResolver, String, String) - Method in class com.google.api.tools.framework.aspects.ConfigRuleSet
Validate selector syntax and report errors (with given error message prefix).
reportDiag() - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
Report errors and warnings.
reportDiags(DiagCollector, boolean) - Static method in class com.google.api.tools.framework.tools.ToolUtil
Report errors and warnings.
reportUnmatchedRules(DiagCollector, ConfigLocationResolver, String) - Method in class com.google.api.tools.framework.aspects.ConfigRuleSet
Reports any unmatched rules.
requires() - Method in interface com.google.api.tools.framework.model.Processor
The list of stages this processor needs for its operations.
Requires - Annotation Type in com.google.api.tools.framework.model.stages
An annotation to document that a processing stage is required for having an attribute valid on a model element.
requires() - Method in class com.google.api.tools.framework.processors.linter.Linter
 
requires() - Method in class com.google.api.tools.framework.processors.merger.Merger
 
requires() - Method in class com.google.api.tools.framework.processors.normalizer.Normalizer
 
requires() - Method in class com.google.api.tools.framework.processors.resolver.Resolver
 
reroot(String) - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Create a new HTTP binding where the HTTP paths are rooted underneath the provided path.
resolve(MessageType, String) - Static method in class com.google.api.tools.framework.model.FieldSelector
Construct a field selector by resolving a field path (as in 'a.b.c') against a message.
resolve(String) - Method in class com.google.api.tools.framework.model.SymbolTable
Attempts to resolve the given id into a protocol element, applying certain heuristics.
Resolved - Class in com.google.api.tools.framework.model.stages
A marker class representing the stage that type resolution and basic consistency checking has been performed on the api.
Resolved() - Constructor for class com.google.api.tools.framework.model.stages.Resolved
 
resolveInterface(String, String) - Method in class com.google.api.tools.framework.model.SymbolTable
Resolves a interface by a partial name within a given package context, following PB (== C++) conventions.
Resolver - Class in com.google.api.tools.framework.processors.resolver
A processor which establishes the Resolved stage.
Resolver() - Constructor for class com.google.api.tools.framework.processors.resolver.Resolver
 
resolveType(String, String) - Method in class com.google.api.tools.framework.model.SymbolTable
Resolves a type by its partial name within a given package context, following PB (== C++) conventions.
ResourceAttribute - Class in com.google.api.tools.framework.aspects.documentation.model
Attribute indicating a user defined resource-to-collection association.
ResourceAttribute() - Constructor for class com.google.api.tools.framework.aspects.documentation.model.ResourceAttribute
 
resourceInputSupplier(String) - Static method in class com.google.api.tools.framework.snippet.SnippetSet
Returns an input supplier which works on the given resource root path.
RestKind - Enum in com.google.api.tools.framework.aspects.http.model
Rest method kind.
RestMethod - Class in com.google.api.tools.framework.aspects.http.model
Encapsulates information about a REST method derived from an RPC method.
RestPatterns - Class in com.google.api.tools.framework.aspects.http
Contains pattern objects for rest method and segments.
RestPatterns() - Constructor for class com.google.api.tools.framework.aspects.http.RestPatterns
 
restrict(Model, Set<String>) - Method in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
 
restrict(Predicate<ProtoElement>, String) - Method in class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
 
restrict(Model, Set<String>) - Method in interface com.google.api.tools.framework.model.Scoper
Returns a scoper which restricts a model to the elements reachable with given visibility labels applied.
restrict(Predicate<ProtoElement>, String) - Method in interface com.google.api.tools.framework.model.Scoper
Returns a scoper which refines restrictions on this scoper using the predicate.
RestVersionsAttribute - Class in com.google.api.tools.framework.aspects.versioning.model
An attribute attached by this aspect to the Model representing the set of all rest versions used in the API.
RestVersionsAttribute(Set<String>) - Constructor for class com.google.api.tools.framework.aspects.versioning.model.RestVersionsAttribute
 
RPAREN - Static variable in class com.google.api.tools.framework.snippet.Doc
 
rpcToRest(SymbolTable, String) - Static method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationUtil
Given a string, searches for unqualified references to message fields and to method names and converts them from RPC-style to REST-style.
RuleBasedConfigAspect<RuleType extends com.google.protobuf.Message,AttributeType> - Class in com.google.api.tools.framework.aspects
Base class for implementing simple, rule-based configuration aspects.
RuleBasedConfigAspect(Model, Key<AttributeType>, String, Descriptors.Descriptor, List<RuleType>) - Constructor for class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
 
run(E) - Method in class com.google.api.tools.framework.aspects.LintRule
Runs the rule.
run(Model) - Method in interface com.google.api.tools.framework.model.Processor
Runs this processor.
run(Model) - Method in class com.google.api.tools.framework.processors.linter.Linter
 
run(Model) - Method in class com.google.api.tools.framework.processors.merger.Merger
 
run(Model) - Method in class com.google.api.tools.framework.processors.normalizer.Normalizer
 
run(Model) - Method in class com.google.api.tools.framework.processors.resolver.Resolver
 
run() - Method in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
run() - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
Runs the tool.
run() - Method in class com.google.api.tools.framework.tools.ToolDriverBase
Runs the tool.

S

sanitizeSourceFiles(Iterable<String>) - Static method in class com.google.api.tools.framework.tools.ToolUtil
Sanitize the sources list removing any unwanted files.
Scoper - Interface in com.google.api.tools.framework.model
A scoper is an object which allows to traverse the model only looking at elements which are 'in scope'.
ScoperImpl - Class in com.google.api.tools.framework.aspects.visibility.model
Implementation of scopers.
ScoperImpl(Iterable<? extends ProtoElement>, String) - Constructor for class com.google.api.tools.framework.aspects.visibility.model.ScoperImpl
Constructs a scoper for the given roots.
SectionHeader - Class in com.google.api.tools.framework.aspects.documentation.source
Represent the header of a section.
SectionHeader(int, String, int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.SectionHeader
 
SEMANTIC_VERSION_REGEX_PATTERN - Static variable in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
 
SEMI - Static variable in class com.google.api.tools.framework.snippet.Doc
 
SERVICE_NAME - Static variable in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
ServiceConfigGeneratorTool - Class in com.google.api.tools.framework.tools.configgen
Main entry point for the service config generator.
ServiceConfigGeneratorTool() - Constructor for class com.google.api.tools.framework.tools.configgen.ServiceConfigGeneratorTool
 
ServiceControlConfigAspect - Class in com.google.api.tools.framework.aspects.servicecontrol
Configuration aspect for service control config validation.
set(ToolOptions.Option<T>, T) - Method in class com.google.api.tools.framework.tools.ToolOptions
Sets an option.
setApiV1VersionSuffix(String) - Method in class com.google.api.tools.framework.model.Model
Sets API v1 version suffix in the model.
setBoolValue(boolean) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional bool bool_value = 2;
setConfig(Api) - Method in class com.google.api.tools.framework.model.Interface
Sets the api config.
setConfigs(Iterable<Message>) - Method in class com.google.api.tools.framework.model.Model
Deprecated.
setConfigSources(Iterable<ConfigSource>) - Method in class com.google.api.tools.framework.model.Model
Sets the service config based on a sequence of sources of heterogeneous types.
setDataPath(String) - Method in class com.google.api.tools.framework.model.Model
Sets the data dependency search path.
setDeclaredVisibilityCombinations(Set<Set<String>>) - Method in class com.google.api.tools.framework.model.Model
Set a collection of declared visibility combinations.
setDiagCollector(DiagCollector) - Method in class com.google.api.tools.framework.tools.GenericToolDriverBase
Sets the DiagCollector for this tool to use.
setFieldByNameMap(ImmutableMap<String, Field>) - Method in class com.google.api.tools.framework.model.MessageType
For setting the field-by-name map.
setFields(ImmutableList<FieldSelector>, ImmutableList<FieldSelector>) - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Sets the parameter and body fields.
setFieldSelector(FieldSelector) - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.FieldSegment
Sets the field this segment links to.
setFiles(ImmutableList<ProtoFile>) - Method in class com.google.api.tools.framework.model.Model
Set the list of (proto) files.
setInputType(TypeRef) - Method in class com.google.api.tools.framework.model.Method
For setting the input type.
setMapValue(String) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
optional string map_value = 1;
setMapValueBytes(ByteString) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
optional string map_value = 1;
setMethod(Method) - Method in class com.google.api.tools.framework.aspects.authentication.model.AuthAttribute.Builder
Sets the method this applies to.
setMethodByNameMap(ImmutableMap<String, Method>) - Method in class com.google.api.tools.framework.model.Interface
For setting the method-by-name map.
setName(String) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
optional string name = 1;
setNameBytes(ByteString) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
optional string name = 1;
setNestedConfig(ConfigSource.NestedConfig) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
setNestedConfig(ConfigSource.NestedConfig.Builder) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional .model.ConfigSourceTest.NestedConfig nested_config = 4;
setNestedRepeatedInt32Value(int, int) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
repeated int32 nested_repeated_int32_value = 2;
setNestedStringValue(String) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
optional string nested_string_value = 1;
setNestedStringValueBytes(ByteString) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
optional string nested_string_value = 1;
setNormalizedConfig(Service) - Method in class com.google.api.tools.framework.model.Model
 
setOneof(Oneof) - Method in class com.google.api.tools.framework.model.Field
For setting the oneof.
setOneofs(ImmutableList<Oneof>) - Method in class com.google.api.tools.framework.model.MessageType
For setting the oneofs list.
setOutputType(TypeRef) - Method in class com.google.api.tools.framework.model.Method
For setting the output type.
setParent(CollectionAttribute) - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Set parent collection.
setRepeatedNestedConfig(int, ConfigSource.NestedConfig) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
setRepeatedNestedConfig(int, ConfigSource.NestedConfig.Builder) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated .model.ConfigSourceTest.NestedConfig repeated_nested_config = 6;
setRepeatedStringValue(int, String) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
repeated string repeated_string_value = 5;
setResourceType(TypeRef) - Method in class com.google.api.tools.framework.aspects.http.model.CollectionAttribute
Sets the resource type.
setRestCollectionName(String) - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Sets the rest collection name.
setRestCustomMethodName(String) - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Sets the rest custom method name.
setRestKind(RestKind) - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
Sets the rest kind.
setRestMethod(RestMethod) - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute
Sets the rest method.
setRule(AuthenticationRule) - Method in class com.google.api.tools.framework.aspects.authentication.model.AuthAttribute.Builder
Sets the underlying AuthenticationRule.
setScoper(Scoper) - Method in class com.google.api.tools.framework.model.Model
Sets the scoper used for traversing this model.
setServiceConfig(Service) - Method in class com.google.api.tools.framework.model.Model
Deprecated.
setServiceConfig(ConfigSource) - Method in class com.google.api.tools.framework.model.Model
Sets the service config from a config source.
setStringValue(String) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional string string_value = 1;
setStringValueBytes(ByteString) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
optional string string_value = 1;
setSymbolTable(SymbolTable) - Method in class com.google.api.tools.framework.model.Model
For setting the symbol table.
setType(TypeRef) - Method in class com.google.api.tools.framework.model.EnumValue
For setting the type.
setType(TypeRef) - Method in class com.google.api.tools.framework.model.Field
For setting the resolved type.
setUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.yaml.TestConfig.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class com.google.api.tools.framework.yaml.TestMapValue.Builder
 
setupModelConfigs(Model, List<String>) - Static method in class com.google.api.tools.framework.tools.ToolUtil
Sets up the model configs, reading them from Yaml files and attaching to the model.
setValue(Descriptors.FieldDescriptor, Object, Object, Location) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Sets the given scalar value on the field.
setValueByNameMap(ImmutableMap<String, EnumValue>) - Method in class com.google.api.tools.framework.model.EnumType
For setting the value-by-name map.
setVisibilityLabels(Set<String>) - Method in class com.google.api.tools.framework.model.Model
Set visibility labels from the given list.
setWarningFilter(String) - Method in class com.google.api.tools.framework.model.Model
Set a filter for warnings based on regular expression for aspect name.
shouldDerivedDiscoveryDoc() - Method in class com.google.api.tools.framework.model.Model
Returns true if the derived discovery doc should be generated and added into service config.
SimpleDiagCollector - Class in com.google.api.tools.framework.model
Simple implementation of DiagCollector used for general purpose tools.
SimpleDiagCollector() - Constructor for class com.google.api.tools.framework.model.SimpleDiagCollector
 
SimpleLocation - Class in com.google.api.tools.framework.model
A simple location with a directly specified display string.
SimpleLocation(String) - Constructor for class com.google.api.tools.framework.model.SimpleLocation
Creates a simple location.
SnippetSet - Class in com.google.api.tools.framework.snippet
Represents a snippet set.
SnippetSet.EvalException - Exception in com.google.api.tools.framework.snippet
Represents an evaluation error, with an issue describing it.
SnippetSet.InputSupplier - Interface in com.google.api.tools.framework.snippet
An interface supplying source input for the @extends command.
SnippetSet.Issue - Class in com.google.api.tools.framework.snippet
Represents an issue (error) with either snippet parsing or runtime evaluation.
SnippetSet.ParseException - Exception in com.google.api.tools.framework.snippet
Represents a parsing error, with a collection of issues.
SOFT_BREAK - Static variable in class com.google.api.tools.framework.snippet.Doc
A break that is printed either as the empty string in horizontal mode, or as a newline in vertical mode.
SourceParser - Class in com.google.api.tools.framework.aspects.documentation.source
Parser that parses given Markdown source into SourceElement structure.
SourceParser(String, Location, DiagCollector, String) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.SourceParser
 
SourceRoot - Class in com.google.api.tools.framework.aspects.documentation.source
Root of the Markdown source structure based on Markdown heading levels.
SourceRoot(int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.SourceRoot
 
SourceSection - Class in com.google.api.tools.framework.aspects.documentation.source
Represents section in Markdown content based on Markdown header boundary.
SourceSection(SectionHeader, int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.SourceSection
 
SourceVisitor - Class in com.google.api.tools.framework.aspects.documentation.source
Base visitor which defines the logic to visit SourceElement.
SourceVisitor() - Constructor for class com.google.api.tools.framework.aspects.documentation.source.SourceVisitor
 
standardSetup(Model) - Static method in class com.google.api.tools.framework.aspects.documentation.DocumentationProcessorSet
Returns DocumentationProcessorSet with standard processors registered.
StandardSetup - Class in com.google.api.tools.framework.setup
A class providing registration of standard processors and config aspects.
startLinting() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation of start linting; does nothing.
startLinting() - Method in interface com.google.api.tools.framework.model.ConfigAspect
Marks the begin of style checking.
startMerging() - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation of starting merge; does nothing.
startMerging() - Method in class com.google.api.tools.framework.aspects.control.ControlConfigAspect
 
startMerging() - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
startMerging() - Method in class com.google.api.tools.framework.aspects.http.HttpConfigAspect
 
startMerging() - Method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
startMerging() - Method in class com.google.api.tools.framework.aspects.versioning.VersionConfigAspect
 
startMerging() - Method in interface com.google.api.tools.framework.model.ConfigAspect
Marks start of merging.
startNormalization(Service.Builder) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Default implementation of starting normalization; does nothing.
startNormalization(Service.Builder) - Method in class com.google.api.tools.framework.aspects.documentation.DocumentationConfigAspect
 
startNormalization(Service.Builder) - Method in class com.google.api.tools.framework.aspects.RuleBasedConfigAspect
 
startNormalization(Service.Builder) - Method in class com.google.api.tools.framework.aspects.system.SystemConfigAspect
 
startNormalization(Service.Builder) - Method in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
startNormalization(Service.Builder) - Method in interface com.google.api.tools.framework.model.ConfigAspect
Marks start of normalization.
STRING_VALUE_FIELD_NUMBER - Static variable in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
stripVersionFromRestName(String) - Static method in class com.google.api.tools.framework.aspects.versioning.model.ApiVersionUtil
Returns the REST name with version prefix stripped if it has.
SUPPRESS_WARNINGS - Static variable in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorFromProtoDescriptor
 
suppressAllWarnings() - Method in class com.google.api.tools.framework.model.Model
Shortcut for suppressing all warnings.
SwaggerConversionException - Exception in com.google.api.tools.framework.importers.swagger
Exception indicating failure during conversion of swagger to service config.
SwaggerConversionException(String) - Constructor for exception com.google.api.tools.framework.importers.swagger.SwaggerConversionException
 
SwaggerConversionException(String, Throwable) - Constructor for exception com.google.api.tools.framework.importers.swagger.SwaggerConversionException
 
SwaggerConversionException(Throwable) - Constructor for exception com.google.api.tools.framework.importers.swagger.SwaggerConversionException
 
SwaggerImportTool - Class in com.google.api.tools.framework.importers.swagger
Main entry point for the Swagger Importer.
SwaggerImportTool(ToolOptions) - Constructor for class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
SwaggerToService - Class in com.google.api.tools.framework.importers.swagger
Class to create a Service instance from a Swagger object.
SwaggerToService(ImmutableMap<String, String>, String, String, String, ImmutableMap<String, String>) - Constructor for class com.google.api.tools.framework.importers.swagger.SwaggerToService
Initializes Swagger to Service config converter.
SymbolTable - Class in com.google.api.tools.framework.model
Represents a symbol table, an object mapping interfaces and types by name.
SymbolTable(Map<String, Interface>, Map<String, TypeRef>, Set<String>, Map<String, ? extends List<Method>>) - Constructor for class com.google.api.tools.framework.model.SymbolTable
 
syntax() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.FieldSegment
 
syntax() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.LiteralSegment
 
syntax() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.PathSegment
Returns the syntax of this segment.
syntax() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.WildcardSegment
 
SystemConfigAspect - Class in com.google.api.tools.framework.aspects.system
Configuration aspect for system-level configuration (e.g.
SystemParameter - Enum in com.google.api.tools.framework.aspects.http.model
System parameter defined in runtime proxy.
SystemParameterConfigAspect - Class in com.google.api.tools.framework.aspects.systemparameter
Configuration aspect for system parameter section.

T

TestConfig - Class in com.google.api.tools.framework.yaml
Protobuf type test.yaml.TestConfig
TestConfig.Builder - Class in com.google.api.tools.framework.yaml
Protobuf type test.yaml.TestConfig
TestConfigOrBuilder - Interface in com.google.api.tools.framework.yaml
 
TestConfigProto - Class in com.google.api.tools.framework.yaml
 
TestMapValue - Class in com.google.api.tools.framework.yaml
Protobuf type test.yaml.TestMapValue
TestMapValue.Builder - Class in com.google.api.tools.framework.yaml
Protobuf type test.yaml.TestMapValue
TestMapValueOrBuilder - Interface in com.google.api.tools.framework.yaml
 
Text - Class in com.google.api.tools.framework.aspects.documentation.source
Represents text content.
Text(String, int, int, DiagCollector, Location) - Constructor for class com.google.api.tools.framework.aspects.documentation.source.Text
 
text(String) - Static method in class com.google.api.tools.framework.snippet.Doc
Returns a document representing the literal text text.
texts(Iterable<String>) - Static method in class com.google.api.tools.framework.snippet.Doc
Applies the text() combinator to a sequence of strings.
texts(String...) - Static method in class com.google.api.tools.framework.snippet.Doc
Applies the text() combinator to a sequence of strings.
toBuilder() - Method in class com.google.api.tools.framework.model.ConfigSource
Constructs a builder from this configuration message.
toBuilder() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
toBuilder() - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
toBuilder() - Method in class com.google.api.tools.framework.yaml.TestConfig
 
toBuilder() - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
ToolDriverBase - Class in com.google.api.tools.framework.tools
Abstract base class for drivers running tools based on the framework.
ToolDriverBase(ToolOptions) - Constructor for class com.google.api.tools.framework.tools.ToolDriverBase
 
ToolOptions - Class in com.google.api.tools.framework.tools
Class for representing options (flags) for tools.
ToolOptions.Option<T> - Class in com.google.api.tools.framework.tools
Represents an option.
ToolUtil - Class in com.google.api.tools.framework.tools
Utilities for tools.
ToolUtil() - Constructor for class com.google.api.tools.framework.tools.ToolUtil
 
TooManyDiagsException(String) - Constructor for exception com.google.api.tools.framework.model.BoundedDiagCollector.TooManyDiagsException
 
TOPLEVEL - Static variable in class com.google.api.tools.framework.model.SimpleLocation
 
toplevelPages() - Method in class com.google.api.tools.framework.aspects.documentation.model.DocumentationPagesAttribute
Returns the top level pages of the docset.
TOS_REQUIREMENT_PREFIX - Static variable in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 
toString() - Method in class com.google.api.tools.framework.aspects.Feature
 
toString() - Method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.PathSegment
 
toString() - Method in class com.google.api.tools.framework.aspects.http.model.RestMethod
 
toString() - Method in class com.google.api.tools.framework.model.BoundedDiagCollector
 
toString() - Method in class com.google.api.tools.framework.model.Diag
 
toString() - Method in class com.google.api.tools.framework.model.EnumType
 
toString() - Method in class com.google.api.tools.framework.model.EnumValue
 
toString() - Method in class com.google.api.tools.framework.model.Field
 
toString() - Method in class com.google.api.tools.framework.model.FieldSelector
 
toString() - Method in class com.google.api.tools.framework.model.Interface
 
toString() - Method in class com.google.api.tools.framework.model.MessageType
 
toString() - Method in class com.google.api.tools.framework.model.Method
 
toString() - Method in class com.google.api.tools.framework.model.Oneof
 
toString() - Method in class com.google.api.tools.framework.model.ProtoFile
 
toString() - Method in class com.google.api.tools.framework.model.SimpleDiagCollector
 
toString() - Method in class com.google.api.tools.framework.model.SimpleLocation
 
toString() - Method in class com.google.api.tools.framework.model.TypeRef
 
toString() - Method in class com.google.api.tools.framework.snippet.Doc
 
toString() - Method in class com.google.api.tools.framework.snippet.SnippetSet.Issue
 
toSyntax(Iterable<HttpAttribute.PathSegment>) - Static method in class com.google.api.tools.framework.aspects.http.model.HttpAttribute.PathSegment
Returns the syntax for a full path given as a list of segments.
TXT_OUT - Static variable in class com.google.api.tools.framework.tools.configgen.ConfigGeneratorDriver
 
type() - Method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
The type of this system parameter.
TYPE_NAMESPACE - Static variable in class com.google.api.tools.framework.importers.swagger.SwaggerImportTool
 
TypeRef - Class in com.google.api.tools.framework.model
Represents a reference to a type.
TypeRef.Cardinality - Enum in com.google.api.tools.framework.model
Represents cardinality of a type.
TypeRef.WellKnownType - Enum in com.google.api.tools.framework.model
Represents an enumeration of well-known types.

U

UNKNOWN - Static variable in class com.google.api.tools.framework.model.SimpleLocation
 
UNRESTRICTED - Static variable in interface com.google.api.tools.framework.model.Scoper
An unrestricted scoper with all elements in scope.
USAGE_MANAGER_KEY - Static variable in class com.google.api.tools.framework.aspects.versioning.model.VersionAttribute
A key used to access the version used by usage manager, which may differ from the logical version.
UsageConfigAspect - Class in com.google.api.tools.framework.aspects.usage
Configuration aspect for usage section.
UTOS_REQUIREMENT - Static variable in class com.google.api.tools.framework.aspects.usage.UsageConfigAspect
 

V

VALUE1_VALUE - Static variable in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
VALUE1 = 2;
valueOf(String) - Static method in enum com.google.api.tools.framework.aspects.http.model.MethodKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.aspects.http.model.RestKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.model.Diag.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.model.TypeRef.Cardinality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.model.TypeRef.WellKnownType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.snippet.Doc.AnsiColor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.snippet.Doc.GroupKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
valueOf(Descriptors.EnumValueDescriptor) - Static method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
 
values() - Static method in enum com.google.api.tools.framework.aspects.http.model.MethodKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.aspects.http.model.RestKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.aspects.http.model.SystemParameter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.model.Diag.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.model.TypeRef.Cardinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.model.TypeRef.WellKnownType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.snippet.Doc.AnsiColor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.snippet.Doc.GroupKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.tools.framework.yaml.ProtoFieldValueParserProto.TestEnum
Returns an array containing the constants of this enum type, in the order they are declared.
VersionAttribute - Class in com.google.api.tools.framework.aspects.versioning.model
An attribute attached by this aspect to Interface and Method elements, representing versioning information.
VersionAttribute() - Constructor for class com.google.api.tools.framework.aspects.versioning.model.VersionAttribute
 
VersionConfigAspect - Class in com.google.api.tools.framework.aspects.versioning
Configuration aspect for versioning.
vgroup(Doc) - Static method in class com.google.api.tools.framework.snippet.Doc
Encloses document child in an Doc.GroupKind.VERTICAL group.
vgroup() - Method in class com.google.api.tools.framework.snippet.Doc
Encloses the document in an Doc.GroupKind.VERTICAL group.
VISIBILITY_LABELS - Static variable in class com.google.api.tools.framework.tools.ToolOptions
 
visit(BaseType) - Method in class com.google.api.tools.framework.util.GenericVisitor
Visits a given instance.
Visitor - Class in com.google.api.tools.framework.model
Base class for model visitors, using GenericVisitor.
Visitor() - Constructor for class com.google.api.tools.framework.model.Visitor
Constructs a visitor which visits all elements.
Visitor(Scoper, boolean) - Constructor for class com.google.api.tools.framework.model.Visitor
Constructs a visitor where only elements reachable via the scoper are visited.
Visitor(Scoper) - Constructor for class com.google.api.tools.framework.model.Visitor
 
Visits - Annotation Type in com.google.api.tools.framework.util
Annotation for marking a visitor method.
VisitsAfter - Annotation Type in com.google.api.tools.framework.util
Annotation for marking a visitor which is called after the main visitor is.
VisitsBefore - Annotation Type in com.google.api.tools.framework.util
Annotation for marking a visitor method which is called before the main visitor is.

W

warning(Object, String, Object...) - Method in class com.google.api.tools.framework.aspects.ConfigAspectBase
Helper for subclasses to report a warning.
warning(Object, String, Object...) - Method in class com.google.api.tools.framework.aspects.LintRule
Logs a lint warning.
warning(Location, String, Object...) - Static method in class com.google.api.tools.framework.model.Diag
Creates a warning diagnosis.
WildcardSegment(boolean) - Constructor for class com.google.api.tools.framework.aspects.http.model.HttpAttribute.WildcardSegment
 
WIRETYPE_END_GROUP - Static variable in class com.google.api.tools.framework.model.Field
 
WIRETYPE_FIXED32 - Static variable in class com.google.api.tools.framework.model.Field
 
WIRETYPE_FIXED64 - Static variable in class com.google.api.tools.framework.model.Field
 
WIRETYPE_LENGTH_DELIMITED - Static variable in class com.google.api.tools.framework.model.Field
 
WIRETYPE_START_GROUP - Static variable in class com.google.api.tools.framework.model.Field
 
WIRETYPE_VARINT - Static variable in class com.google.api.tools.framework.model.Field
 
withAddedBuilder(Descriptors.FieldDescriptor, ConfigSource.BuildAction) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Constructs a sub-builder for an added element of the repeated message field, and calls action on it.
withBuilder(Descriptors.FieldDescriptor, ConfigSource.BuildAction) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Constructs a sub-builder for given field and calls the action on it.
withBuilder(Descriptors.FieldDescriptor, Object, ConfigSource.BuildAction) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Constructs a sub-builder for given field and calls the action on it.
withBuilderAt(Descriptors.FieldDescriptor, int, ConfigSource.BuildAction) - Method in class com.google.api.tools.framework.model.ConfigSource.Builder
Constructs a sub-builder for a element at given index of the repeated message field, and calls action on it.
withChild(Feature, Range<Integer>) - Method in class com.google.api.tools.framework.aspects.Feature.Builder
Automatically includes the given child when the config version is in the given range.
withDefaultRange(Range<Integer>) - Method in class com.google.api.tools.framework.aspects.Feature.Builder
Sets the range of versions where this feature is enabled by default.
withSupportedRange(Range<Integer>) - Method in class com.google.api.tools.framework.aspects.Feature.Builder
Sets the range of versions where this feature is supported.
words(String) - Static method in class com.google.api.tools.framework.snippet.Doc
 
writeFiles(Map<String, ?>, String) - Static method in class com.google.api.tools.framework.tools.ToolUtil
Writes a content object into a set of output files.
writeJar(Map<String, ?>, String) - Static method in class com.google.api.tools.framework.tools.ToolUtil
Writes a set of files with directory structure to a .jar.
writeProto(Message, String) - Static method in class com.google.api.tools.framework.tools.ToolUtil
Writes a proto out to a file.
writeProtoBinaryToFile(File, Message) - Static method in class com.google.api.tools.framework.tools.util.OutputUtil
Writes a proto to a file in binary format.
writeProtoTextToFile(File, Message) - Static method in class com.google.api.tools.framework.tools.util.OutputUtil
Writes a proto to a file in text format.
writeTo(CodedOutputStream) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.NestedConfig
 
writeTo(CodedOutputStream) - Method in class com.google.api.tools.framework.model.testdata.ConfigSource.SomeConfig
 
writeTo(CodedOutputStream) - Method in class com.google.api.tools.framework.yaml.TestConfig
 
writeTo(CodedOutputStream) - Method in class com.google.api.tools.framework.yaml.TestMapValue
 
writeToFile(File, String) - Static method in class com.google.api.tools.framework.tools.util.OutputUtil
Writes string content to a file.

Y

YamlReader - Class in com.google.api.tools.framework.yaml
Yaml configuration reader.
A B C D E F G H I J K L M N O P R S T U V W Y 
Skip navigation links