public final class CustomHttpPattern extends GeneratedMessageV3 implements CustomHttpPatternOrBuilder
A custom pattern is used for defining custom HTTP verb.
Protobuf type google.api.CustomHttpPattern
Static Fields
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CustomHttpPattern getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CustomHttpPattern.Builder newBuilder()
Returns
newBuilder(CustomHttpPattern prototype)
public static CustomHttpPattern.Builder newBuilder(CustomHttpPattern prototype)
Parameter
Returns
public static CustomHttpPattern parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CustomHttpPattern parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CustomHttpPattern parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomHttpPattern parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CustomHttpPattern parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomHttpPattern parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CustomHttpPattern parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CustomHttpPattern parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CustomHttpPattern parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CustomHttpPattern parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CustomHttpPattern parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomHttpPattern parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CustomHttpPattern> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CustomHttpPattern getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<CustomHttpPattern> getParserForType()
Returns
Overrides
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CustomHttpPattern.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomHttpPattern.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CustomHttpPattern.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions