Class OperationDetails (0.6.0)

public final class OperationDetails extends GeneratedMessageV3 implements OperationDetailsOrBuilder

The operation details parsed from the spec.

Protobuf type google.cloud.apihub.v1.OperationDetails

Static Fields

DEPRECATED_FIELD_NUMBER

public static final int DEPRECATED_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DOCUMENTATION_FIELD_NUMBER

public static final int DOCUMENTATION_FIELD_NUMBER
Field Value
Type Description
int

HTTP_OPERATION_FIELD_NUMBER

public static final int HTTP_OPERATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperationDetails getDefaultInstance()
Returns
Type Description
OperationDetails

getDescriptor()

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

newBuilder()

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

newBuilder(OperationDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OperationDetails getDefaultInstanceForType()
Returns
Type Description
OperationDetails

getDeprecated()

public boolean getDeprecated()

Output only. For OpenAPI spec, this will be set if operation.deprecatedis marked as true in the spec.

bool deprecated = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The deprecated.

getDescription()

public String getDescription()

Output only. Description of the operation behavior. For OpenAPI spec, this will map to operation.description in the spec, in case description is empty, operation.summary will be used.

string description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. Description of the operation behavior. For OpenAPI spec, this will map to operation.description in the spec, in case description is empty, operation.summary will be used.

string description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDocumentation()

public Documentation getDocumentation()

Output only. Additional external documentation for this operation. For OpenAPI spec, this will map to operation.documentation in the spec.

.google.cloud.apihub.v1.Documentation documentation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Documentation

The documentation.

getDocumentationOrBuilder()

public DocumentationOrBuilder getDocumentationOrBuilder()

Output only. Additional external documentation for this operation. For OpenAPI spec, this will map to operation.documentation in the spec.

.google.cloud.apihub.v1.Documentation documentation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DocumentationOrBuilder

getHttpOperation()

public HttpOperation getHttpOperation()

The HTTP Operation.

.google.cloud.apihub.v1.HttpOperation http_operation = 4;

Returns
Type Description
HttpOperation

The httpOperation.

getHttpOperationOrBuilder()

public HttpOperationOrBuilder getHttpOperationOrBuilder()

The HTTP Operation.

.google.cloud.apihub.v1.HttpOperation http_operation = 4;

Returns
Type Description
HttpOperationOrBuilder

getOperationCase()

public OperationDetails.OperationCase getOperationCase()
Returns
Type Description
OperationDetails.OperationCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDocumentation()

public boolean hasDocumentation()

Output only. Additional external documentation for this operation. For OpenAPI spec, this will map to operation.documentation in the spec.

.google.cloud.apihub.v1.Documentation documentation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the documentation field is set.

hasHttpOperation()

public boolean hasHttpOperation()

The HTTP Operation.

.google.cloud.apihub.v1.HttpOperation http_operation = 4;

Returns
Type Description
boolean

Whether the httpOperation 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 OperationDetails.Builder newBuilderForType()
Returns
Type Description
OperationDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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