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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CustomHttpPattern.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public CustomHttpPattern.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomHttpPattern.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CustomHttpPattern.Builder |
clearPath()
public CustomHttpPattern.Builder clearPath()
The path matched by this custom verb.
string path = 2;
Returns | |
---|---|
Type | Description |
CustomHttpPattern.Builder | This builder for chaining. |
clone()
public CustomHttpPattern.Builder clone()
Returns | |
---|---|
Type | Description |
CustomHttpPattern.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomHttpPattern.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
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 | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for path to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CustomHttpPattern.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomHttpPattern.Builder |