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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CustomHttpPattern build()
Returns
buildPartial()
public CustomHttpPattern buildPartial()
Returns
clear()
public CustomHttpPattern.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomHttpPattern.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKind()
public CustomHttpPattern.Builder clearKind()
The name of this custom HTTP verb.
string kind = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomHttpPattern.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPath()
public CustomHttpPattern.Builder clearPath()
The path matched by this custom verb.
string path = 2;
Returns
clone()
public CustomHttpPattern.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CustomHttpPattern getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CustomHttpPattern other)
public CustomHttpPattern.Builder mergeFrom(CustomHttpPattern other)
Parameter
Returns
public CustomHttpPattern.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CustomHttpPattern.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomHttpPattern.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomHttpPattern.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomHttpPattern.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides