Package com.google.cloud.apihub.v1
Class OperationDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OperationDetails.Builder>
com.google.cloud.apihub.v1.OperationDetails.Builder
- All Implemented Interfaces:
OperationDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OperationDetails
public static final class OperationDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OperationDetails.Builder>
implements OperationDetailsOrBuilder
The operation details parsed from the spec.Protobuf type
google.cloud.apihub.v1.OperationDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.The HTTP Operation.booleanOptional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.The HTTP Operation.The HTTP Operation.The HTTP Operation.booleanOptional.booleanThe HTTP Operation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDocumentation(Documentation value) Optional.mergeFrom(OperationDetails other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHttpOperation(HttpOperation value) The HTTP Operation.setDeprecated(boolean value) Optional.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDocumentation(Documentation value) Optional.setDocumentation(Documentation.Builder builderForValue) Optional.setHttpOperation(HttpOperation value) The HTTP Operation.setHttpOperation(HttpOperation.Builder builderForValue) The HTTP Operation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OperationDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OperationDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OperationDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OperationDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OperationDetails.Builder>
-
mergeFrom
public OperationDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OperationDetails.Builder>- Throws:
IOException
-
getOperationCase
- Specified by:
getOperationCasein interfaceOperationDetailsOrBuilder
-
clearOperation
-
hasHttpOperation
public boolean hasHttpOperation()The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4;- Specified by:
hasHttpOperationin interfaceOperationDetailsOrBuilder- Returns:
- Whether the httpOperation field is set.
-
getHttpOperation
The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4;- Specified by:
getHttpOperationin interfaceOperationDetailsOrBuilder- Returns:
- The httpOperation.
-
setHttpOperation
The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4; -
setHttpOperation
The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4; -
mergeHttpOperation
The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4; -
clearHttpOperation
The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4; -
getHttpOperationBuilder
The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4; -
getHttpOperationOrBuilder
The HTTP Operation.
.google.cloud.apihub.v1.HttpOperation http_operation = 4;- Specified by:
getHttpOperationOrBuilderin interfaceOperationDetailsOrBuilder
-
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];- Specified by:
getDescriptionin interfaceOperationDetailsOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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];- Specified by:
getDescriptionBytesin interfaceOperationDetailsOrBuilder- Returns:
- The bytes for description.
-
setDescription
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];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
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:
- This builder for chaining.
-
setDescriptionBytes
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];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDocumentation
public 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];- Specified by:
hasDocumentationin interfaceOperationDetailsOrBuilder- Returns:
- Whether the documentation field is set.
-
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];- Specified by:
getDocumentationin interfaceOperationDetailsOrBuilder- Returns:
- The documentation.
-
setDocumentation
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]; -
setDocumentation
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]; -
mergeDocumentation
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]; -
clearDocumentation
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]; -
getDocumentationBuilder
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]; -
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];- Specified by:
getDocumentationOrBuilderin interfaceOperationDetailsOrBuilder
-
getDeprecated
public 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];- Specified by:
getDeprecatedin interfaceOperationDetailsOrBuilder- Returns:
- The deprecated.
-
setDeprecated
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];- Parameters:
value- The deprecated to set.- Returns:
- This builder for chaining.
-
clearDeprecated
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:
- This builder for chaining.
-