Package com.google.cloud.apihub.v1
Interface OperationDetailsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationDetails,OperationDetails.Builder
@Generated
public interface OperationDetailsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.The HTTP Operation.The HTTP Operation.booleanOptional.booleanThe HTTP Operation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasHttpOperation
boolean hasHttpOperation()The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4;- Returns:
- Whether the httpOperation field is set.
-
getHttpOperation
HttpOperation getHttpOperation()The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4;- Returns:
- The httpOperation.
-
getHttpOperationOrBuilder
HttpOperationOrBuilder getHttpOperationOrBuilder()The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4; -
getDescription
String getDescription()Optional. 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) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. 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) = OPTIONAL];- Returns:
- The bytes for description.
-
hasDocumentation
boolean hasDocumentation()Optional. 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) = OPTIONAL];- Returns:
- Whether the documentation field is set.
-
getDocumentation
Documentation getDocumentation()Optional. 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) = OPTIONAL];- Returns:
- The documentation.
-
getDocumentationOrBuilder
DocumentationOrBuilder getDocumentationOrBuilder()Optional. 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) = OPTIONAL]; -
getDeprecated
boolean getDeprecated()Optional. For OpenAPI spec, this will be set if `operation.deprecated`is marked as `true` in the spec.
bool deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The deprecated.
-
getOperationCase
OperationDetails.OperationCase getOperationCase()
-