Package com.google.api
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 TypeMethodDescriptionThe name of this custom HTTP verb.The path matched by this custom verb.getKind()The name of this custom HTTP verb.com.google.protobuf.ByteStringThe name of this custom HTTP verb.getPath()The path matched by this custom verb.com.google.protobuf.ByteStringThe path matched by this custom verb.The name of this custom HTTP verb.setKindBytes(com.google.protobuf.ByteString value) The name of this custom HTTP verb.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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getKind
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];- Specified by:
getKindin interfaceCustomHttpPatternOrBuilder- 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:
getKindBytesin interfaceCustomHttpPatternOrBuilder- Returns:
- The bytes for kind.
-
setKind
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
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];- Returns:
- This builder for chaining.
-
setKindBytes
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
The path matched by this custom verb.
string path = 2 [json_name = "path"];- Specified by:
getPathin interfaceCustomHttpPatternOrBuilder- 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:
getPathBytesin interfaceCustomHttpPatternOrBuilder- Returns:
- The bytes for path.
-
setPath
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
The path matched by this custom verb.
string path = 2 [json_name = "path"];- Returns:
- This builder for chaining.
-
setPathBytes
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.
-