Class HttpOperation (0.8.0)

public final class HttpOperation extends GeneratedMessageV3 implements HttpOperationOrBuilder

The HTTP Operation.

Protobuf type google.cloud.apihub.v1.HttpOperation

Static Fields

METHOD_FIELD_NUMBER

public static final int METHOD_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 HttpOperation getDefaultInstance()
Returns
Type Description
HttpOperation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HttpOperation.Builder newBuilder()
Returns
Type Description
HttpOperation.Builder

newBuilder(HttpOperation prototype)

public static HttpOperation.Builder newBuilder(HttpOperation prototype)
Parameter
Name Description
prototype HttpOperation
Returns
Type Description
HttpOperation.Builder

parseDelimitedFrom(InputStream input)

public static HttpOperation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpOperation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpOperation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HttpOperation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HttpOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HttpOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HttpOperation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HttpOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HttpOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HttpOperation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HttpOperation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HttpOperation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpOperation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HttpOperation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HttpOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HttpOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpOperation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HttpOperation> parser()
Returns
Type Description
Parser<HttpOperation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HttpOperation getDefaultInstanceForType()
Returns
Type Description
HttpOperation

getMethod()

public HttpOperation.Method getMethod()

Output only. Operation method

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
HttpOperation.Method

The method.

getMethodValue()

public int getMethodValue()

Output only. Operation method

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for method.

getParserForType()

public Parser<HttpOperation> getParserForType()
Returns
Type Description
Parser<HttpOperation>
Overrides

getPath()

public Path getPath()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Path

The path.

getPathOrBuilder()

public PathOrBuilder getPathOrBuilder()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PathOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasPath()

public boolean hasPath()

Output only. The path details for the Operation.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the path field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HttpOperation.Builder newBuilderForType()
Returns
Type Description
HttpOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HttpOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HttpOperation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HttpOperation.Builder toBuilder()
Returns
Type Description
HttpOperation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException