Class Paths.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
com.openapi.v3.Paths.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PathsOrBuilder, Cloneable
Enclosing class:
Paths

public static final class Paths.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder> implements PathsOrBuilder
 Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the `Server Object` in order to construct the full URL.  The Paths MAY be empty, due to ACL constraints.
 
Protobuf type openapi.v3.Paths
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • clear

      public Paths.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • getDefaultInstanceForType

      public Paths getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Paths build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Paths buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Paths.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • setField

      public Paths.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • clearField

      public Paths.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • clearOneof

      public Paths.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • setRepeatedField

      public Paths.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • addRepeatedField

      public Paths.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • mergeFrom

      public Paths.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Paths.Builder>
    • mergeFrom

      public Paths.Builder mergeFrom(Paths other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • mergeFrom

      public Paths.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Paths.Builder>
      Throws:
      IOException
    • getPathList

      public List<NamedPathItem> getPathList()
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
      Specified by:
      getPathList in interface PathsOrBuilder
    • getPathCount

      public int getPathCount()
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
      Specified by:
      getPathCount in interface PathsOrBuilder
    • getPath

      public NamedPathItem getPath(int index)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
      Specified by:
      getPath in interface PathsOrBuilder
    • setPath

      public Paths.Builder setPath(int index, NamedPathItem value)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • setPath

      public Paths.Builder setPath(int index, NamedPathItem.Builder builderForValue)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • addPath

      public Paths.Builder addPath(NamedPathItem value)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • addPath

      public Paths.Builder addPath(int index, NamedPathItem value)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • addPath

      public Paths.Builder addPath(NamedPathItem.Builder builderForValue)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • addPath

      public Paths.Builder addPath(int index, NamedPathItem.Builder builderForValue)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • addAllPath

      public Paths.Builder addAllPath(Iterable<? extends NamedPathItem> values)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • clearPath

      public Paths.Builder clearPath()
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • removePath

      public Paths.Builder removePath(int index)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • getPathBuilder

      public NamedPathItem.Builder getPathBuilder(int index)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • getPathOrBuilder

      public NamedPathItemOrBuilder getPathOrBuilder(int index)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
      Specified by:
      getPathOrBuilder in interface PathsOrBuilder
    • getPathOrBuilderList

      public List<? extends NamedPathItemOrBuilder> getPathOrBuilderList()
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
      Specified by:
      getPathOrBuilderList in interface PathsOrBuilder
    • addPathBuilder

      public NamedPathItem.Builder addPathBuilder()
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • addPathBuilder

      public NamedPathItem.Builder addPathBuilder(int index)
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • getPathBuilderList

      public List<NamedPathItem.Builder> getPathBuilderList()
      repeated .openapi.v3.NamedPathItem path = 1 [json_name = "path"];
    • getSpecificationExtensionList

      public List<NamedAny> getSpecificationExtensionList()
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionList in interface PathsOrBuilder
    • getSpecificationExtensionCount

      public int getSpecificationExtensionCount()
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionCount in interface PathsOrBuilder
    • getSpecificationExtension

      public NamedAny getSpecificationExtension(int index)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtension in interface PathsOrBuilder
    • setSpecificationExtension

      public Paths.Builder setSpecificationExtension(int index, NamedAny value)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • setSpecificationExtension

      public Paths.Builder setSpecificationExtension(int index, NamedAny.Builder builderForValue)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public Paths.Builder addSpecificationExtension(NamedAny value)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public Paths.Builder addSpecificationExtension(int index, NamedAny value)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public Paths.Builder addSpecificationExtension(NamedAny.Builder builderForValue)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • addSpecificationExtension

      public Paths.Builder addSpecificationExtension(int index, NamedAny.Builder builderForValue)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • addAllSpecificationExtension

      public Paths.Builder addAllSpecificationExtension(Iterable<? extends NamedAny> values)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • clearSpecificationExtension

      public Paths.Builder clearSpecificationExtension()
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • removeSpecificationExtension

      public Paths.Builder removeSpecificationExtension(int index)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • getSpecificationExtensionBuilder

      public NamedAny.Builder getSpecificationExtensionBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • getSpecificationExtensionOrBuilder

      public NamedAnyOrBuilder getSpecificationExtensionOrBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionOrBuilder in interface PathsOrBuilder
    • getSpecificationExtensionOrBuilderList

      public List<? extends NamedAnyOrBuilder> getSpecificationExtensionOrBuilderList()
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
      Specified by:
      getSpecificationExtensionOrBuilderList in interface PathsOrBuilder
    • addSpecificationExtensionBuilder

      public NamedAny.Builder addSpecificationExtensionBuilder()
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • addSpecificationExtensionBuilder

      public NamedAny.Builder addSpecificationExtensionBuilder(int index)
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • getSpecificationExtensionBuilderList

      public List<NamedAny.Builder> getSpecificationExtensionBuilderList()
      repeated .openapi.v3.NamedAny specification_extension = 2 [json_name = "specificationExtension"];
    • setUnknownFields

      public final Paths.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>
    • mergeUnknownFields

      public final Paths.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Paths.Builder>