Class CustomHttpPattern.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<CustomHttpPattern,CustomHttpPattern.Builder>
com.google.api.CustomHttpPattern.Builder
All Implemented Interfaces:
CustomHttpPatternOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
CustomHttpPattern

public static final class CustomHttpPattern.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CustomHttpPattern,CustomHttpPattern.Builder> implements CustomHttpPatternOrBuilder
 A custom pattern is used for defining custom HTTP verb.
 
Protobuf type google.api.CustomHttpPattern
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of this custom HTTP verb.
    The path matched by this custom verb.
    The name of this custom HTTP verb.
    com.google.protobuf.ByteString
    The name of this custom HTTP verb.
    The path matched by this custom verb.
    com.google.protobuf.ByteString
    The path matched by this custom verb.
    setKind(String value)
    The name of this custom HTTP verb.
    setKindBytes(com.google.protobuf.ByteString value)
    The name of this custom HTTP verb.
    setPath(String value)
    The path matched by this custom verb.
    setPathBytes(com.google.protobuf.ByteString value)
    The path matched by this custom verb.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getKind

      public String getKind()
       The name of this custom HTTP verb.
       
      string kind = 1 [json_name = "kind"];
      Specified by:
      getKind in interface CustomHttpPatternOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       The name of this custom HTTP verb.
       
      string kind = 1 [json_name = "kind"];
      Specified by:
      getKindBytes in interface CustomHttpPatternOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public CustomHttpPattern.Builder setKind(String value)
       The name of this custom HTTP verb.
       
      string kind = 1 [json_name = "kind"];
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public CustomHttpPattern.Builder clearKind()
       The name of this custom HTTP verb.
       
      string kind = 1 [json_name = "kind"];
      Returns:
      This builder for chaining.
    • setKindBytes

      public CustomHttpPattern.Builder setKindBytes(com.google.protobuf.ByteString value)
       The name of this custom HTTP verb.
       
      string kind = 1 [json_name = "kind"];
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • getPath

      public String getPath()
       The path matched by this custom verb.
       
      string path = 2 [json_name = "path"];
      Specified by:
      getPath in interface CustomHttpPatternOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       The path matched by this custom verb.
       
      string path = 2 [json_name = "path"];
      Specified by:
      getPathBytes in interface CustomHttpPatternOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public CustomHttpPattern.Builder setPath(String value)
       The path matched by this custom verb.
       
      string path = 2 [json_name = "path"];
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public CustomHttpPattern.Builder clearPath()
       The path matched by this custom verb.
       
      string path = 2 [json_name = "path"];
      Returns:
      This builder for chaining.
    • setPathBytes

      public CustomHttpPattern.Builder setPathBytes(com.google.protobuf.ByteString value)
       The path matched by this custom verb.
       
      string path = 2 [json_name = "path"];
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.