public static final class CustomHttpPattern.Builder extends GeneratedMessage.Builder<CustomHttpPattern.Builder> implements CustomHttpPatternOrBuilderA custom pattern is used for defining custom HTTP verb.
Protobuf type google.api.CustomHttpPattern
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomHttpPattern.BuilderImplements
CustomHttpPatternOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CustomHttpPattern build()| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern |
|
buildPartial()
public CustomHttpPattern buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern |
|
clear()
public CustomHttpPattern.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
|
clearKind()
public CustomHttpPattern.Builder clearKind()The name of this custom HTTP verb.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
This builder for chaining. |
clearPath()
public CustomHttpPattern.Builder clearPath()The path matched by this custom verb.
string path = 2;
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CustomHttpPattern getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getKind()
public String getKind()The name of this custom HTTP verb.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
public ByteString getKindBytes()The name of this custom HTTP verb.
string kind = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getPath()
public String getPath()The path matched by this custom verb.
string path = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()The path matched by this custom verb.
string path = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CustomHttpPattern other)
public CustomHttpPattern.Builder mergeFrom(CustomHttpPattern other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomHttpPattern |
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomHttpPattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomHttpPattern.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
|
setKind(String value)
public CustomHttpPattern.Builder setKind(String value)The name of this custom HTTP verb.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public CustomHttpPattern.Builder setKindBytes(ByteString value)The name of this custom HTTP verb.
string kind = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
This builder for chaining. |
setPath(String value)
public CustomHttpPattern.Builder setPath(String value)The path matched by this custom verb.
string path = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public CustomHttpPattern.Builder setPathBytes(ByteString value)The path matched by this custom verb.
string path = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
CustomHttpPattern.Builder |
This builder for chaining. |