Class PathTransformation.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PathTransformationOrBuilder, java.lang.Cloneable
    Enclosing class:
    PathTransformation

    public static final class PathTransformation.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<PathTransformation.Builder>
    implements PathTransformationOrBuilder
    Protobuf type envoy.type.http.v3.PathTransformation
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

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

        public PathTransformation.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.GeneratedMessage.Builder<PathTransformation.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.GeneratedMessage.Builder<PathTransformation.Builder>
      • getDefaultInstanceForType

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

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

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

        private void buildPartialRepeatedFields​(PathTransformation result)
      • mergeFrom

        public PathTransformation.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<PathTransformation.Builder>
      • isInitialized

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

        public PathTransformation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.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<PathTransformation.Builder>
        Throws:
        java.io.IOException
      • ensureOperationsIsMutable

        private void ensureOperationsIsMutable()
      • getOperationsCount

        public int getOperationsCount()
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
        Specified by:
        getOperationsCount in interface PathTransformationOrBuilder
      • setOperations

        public PathTransformation.Builder setOperations​(int index,
                                                        PathTransformation.Operation value)
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • addOperations

        public PathTransformation.Builder addOperations​(PathTransformation.Operation value)
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • addOperations

        public PathTransformation.Builder addOperations​(int index,
                                                        PathTransformation.Operation value)
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • addAllOperations

        public PathTransformation.Builder addAllOperations​(java.lang.Iterable<? extends PathTransformation.Operation> values)
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • clearOperations

        public PathTransformation.Builder clearOperations()
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • removeOperations

        public PathTransformation.Builder removeOperations​(int index)
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • getOperationsBuilder

        public PathTransformation.Operation.Builder getOperationsBuilder​(int index)
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • addOperationsBuilder

        public PathTransformation.Operation.Builder addOperationsBuilder()
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • addOperationsBuilder

        public PathTransformation.Operation.Builder addOperationsBuilder​(int index)
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;
      • getOperationsBuilderList

        public java.util.List<PathTransformation.Operation.Builder> getOperationsBuilderList()
         A list of operations to apply. Transformations will be performed in the order that they appear.
         
        repeated .envoy.type.http.v3.PathTransformation.Operation operations = 1;