public static final class CustomHttpPattern.Builder extends GeneratedMessageV3.Builder<CustomHttpPattern.Builder> implements CustomHttpPatternOrBuilder
A custom pattern is used for defining custom HTTP verb.
Protobuf type google.api.CustomHttpPattern
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CustomHttpPattern.BuilderImplements
CustomHttpPatternOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CustomHttpPattern.Builder |
build()
public CustomHttpPattern build()
Type | Description |
CustomHttpPattern |
buildPartial()
public CustomHttpPattern buildPartial()
Type | Description |
CustomHttpPattern |
clear()
public CustomHttpPattern.Builder clear()
Type | Description |
CustomHttpPattern.Builder |
clearField(Descriptors.FieldDescriptor field)
public CustomHttpPattern.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CustomHttpPattern.Builder |
clearKind()
public CustomHttpPattern.Builder clearKind()
The name of this custom HTTP verb.
string kind = 1;
Type | Description |
CustomHttpPattern.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomHttpPattern.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CustomHttpPattern.Builder |
clearPath()
public CustomHttpPattern.Builder clearPath()
The path matched by this custom verb.
string path = 2;
Type | Description |
CustomHttpPattern.Builder | This builder for chaining. |
clone()
public CustomHttpPattern.Builder clone()
Type | Description |
CustomHttpPattern.Builder |
getDefaultInstanceForType()
public CustomHttpPattern getDefaultInstanceForType()
Type | Description |
CustomHttpPattern |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKind()
public String getKind()
The name of this custom HTTP verb.
string kind = 1;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
The name of this custom HTTP verb.
string kind = 1;
Type | Description |
ByteString | The bytes for kind. |
getPath()
public String getPath()
The path matched by this custom verb.
string path = 2;
Type | Description |
String | The path. |
getPathBytes()
public ByteString getPathBytes()
The path matched by this custom verb.
string path = 2;
Type | Description |
ByteString | The bytes for path. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CustomHttpPattern other)
public CustomHttpPattern.Builder mergeFrom(CustomHttpPattern other)
Name | Description |
other | CustomHttpPattern |
Type | Description |
CustomHttpPattern.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomHttpPattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CustomHttpPattern.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CustomHttpPattern.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CustomHttpPattern.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CustomHttpPattern.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CustomHttpPattern.Builder |
setKind(String value)
public CustomHttpPattern.Builder setKind(String value)
The name of this custom HTTP verb.
string kind = 1;
Name | Description |
value | String The kind to set. |
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;
Name | Description |
value | ByteString The bytes for kind to set. |
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;
Name | Description |
value | String The path to set. |
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;
Name | Description |
value | ByteString The bytes for path to set. |
Type | Description |
CustomHttpPattern.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomHttpPattern.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CustomHttpPattern.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CustomHttpPattern.Builder |