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.ByteString
The name of this custom HTTP verb.getPath()
The path matched by this custom verb.com.google.protobuf.ByteString
The 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, 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
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];
- Specified by:
getKind
in 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:
getKindBytes
in 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:
getPath
in 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:
getPathBytes
in 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.
-