public static final class CustomHttpPattern.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomHttpPattern.Builder> implements CustomHttpPatternOrBuilder
A custom pattern is used for defining custom HTTP verb.Protobuf type
google.api.CustomHttpPattern
Modifier and Type | Method and Description |
---|---|
CustomHttpPattern |
build() |
CustomHttpPattern |
buildPartial() |
CustomHttpPattern.Builder |
clear() |
CustomHttpPattern.Builder |
clearKind()
The name of this custom HTTP verb.
|
CustomHttpPattern.Builder |
clearPath()
The path matched by this custom verb.
|
CustomHttpPattern |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getKind()
The name of this custom HTTP verb.
|
com.google.protobuf.ByteString |
getKindBytes()
The name of this custom HTTP verb.
|
java.lang.String |
getPath()
The path matched by this custom verb.
|
com.google.protobuf.ByteString |
getPathBytes()
The path matched by this custom verb.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CustomHttpPattern.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CustomHttpPattern.Builder |
mergeFrom(CustomHttpPattern other) |
CustomHttpPattern.Builder |
mergeFrom(com.google.protobuf.Message other) |
CustomHttpPattern.Builder |
setKind(java.lang.String value)
The name of this custom HTTP verb.
|
CustomHttpPattern.Builder |
setKindBytes(com.google.protobuf.ByteString value)
The name of this custom HTTP verb.
|
CustomHttpPattern.Builder |
setPath(java.lang.String value)
The path matched by this custom verb.
|
CustomHttpPattern.Builder |
setPathBytes(com.google.protobuf.ByteString value)
The path matched by this custom verb.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<CustomHttpPattern.Builder>
public CustomHttpPattern.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<CustomHttpPattern.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<CustomHttpPattern.Builder>
public CustomHttpPattern getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CustomHttpPattern build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CustomHttpPattern buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CustomHttpPattern.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CustomHttpPattern.Builder>
public CustomHttpPattern.Builder mergeFrom(CustomHttpPattern other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<CustomHttpPattern.Builder>
public CustomHttpPattern.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CustomHttpPattern.Builder>
java.io.IOException
public java.lang.String getKind()
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];
getKind
in interface CustomHttpPatternOrBuilder
public com.google.protobuf.ByteString getKindBytes()
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];
getKindBytes
in interface CustomHttpPatternOrBuilder
public CustomHttpPattern.Builder setKind(java.lang.String value)
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];
value
- The kind to set.public CustomHttpPattern.Builder clearKind()
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];
public CustomHttpPattern.Builder setKindBytes(com.google.protobuf.ByteString value)
The name of this custom HTTP verb.
string kind = 1 [json_name = "kind"];
value
- The bytes for kind to set.public java.lang.String getPath()
The path matched by this custom verb.
string path = 2 [json_name = "path"];
getPath
in interface CustomHttpPatternOrBuilder
public com.google.protobuf.ByteString getPathBytes()
The path matched by this custom verb.
string path = 2 [json_name = "path"];
getPathBytes
in interface CustomHttpPatternOrBuilder
public CustomHttpPattern.Builder setPath(java.lang.String value)
The path matched by this custom verb.
string path = 2 [json_name = "path"];
value
- The path to set.public CustomHttpPattern.Builder clearPath()
The path matched by this custom verb.
string path = 2 [json_name = "path"];
public CustomHttpPattern.Builder setPathBytes(com.google.protobuf.ByteString value)
The path matched by this custom verb.
string path = 2 [json_name = "path"];
value
- The bytes for path to set.