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