Class OperationDetails.Builder (0.1.0)

public static final class OperationDetails.Builder extends GeneratedMessageV3.Builder<OperationDetails.Builder> implements OperationDetailsOrBuilder

The operation details parsed from the spec.

Protobuf type google.cloud.apihub.v1.OperationDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OperationDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationDetails.Builder
Overrides

build()

public OperationDetails build()
Returns
Type Description
OperationDetails

buildPartial()

public OperationDetails buildPartial()
Returns
Type Description
OperationDetails

clear()

public OperationDetails.Builder clear()
Returns
Type Description
OperationDetails.Builder
Overrides

clearDeprecated()

public OperationDetails.Builder clearDeprecated()

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
OperationDetails.Builder

This builder for chaining.

clearDescription()

public OperationDetails.Builder clearDescription()

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
OperationDetails.Builder

This builder for chaining.

clearDocumentation()

public OperationDetails.Builder clearDocumentation()

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
OperationDetails.Builder

clearField(Descriptors.FieldDescriptor field)

public OperationDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OperationDetails.Builder
Overrides

clearHttpOperation()

public OperationDetails.Builder clearHttpOperation()

The HTTP Operation.

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

Returns
Type Description
OperationDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OperationDetails.Builder
Overrides

clearOperation()

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

clone()

public OperationDetails.Builder clone()
Returns
Type Description
OperationDetails.Builder
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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getDocumentationBuilder()

public Documentation.Builder getDocumentationBuilder()

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.Builder

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.

getHttpOperationBuilder()

public HttpOperation.Builder getHttpOperationBuilder()

The HTTP Operation.

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

Returns
Type Description
HttpOperation.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDocumentation(Documentation value)

public OperationDetails.Builder mergeDocumentation(Documentation value)

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];

Parameter
Name Description
value Documentation
Returns
Type Description
OperationDetails.Builder

mergeFrom(OperationDetails other)

public OperationDetails.Builder mergeFrom(OperationDetails other)
Parameter
Name Description
other OperationDetails
Returns
Type Description
OperationDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OperationDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OperationDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OperationDetails.Builder
Overrides

mergeHttpOperation(HttpOperation value)

public OperationDetails.Builder mergeHttpOperation(HttpOperation value)

The HTTP Operation.

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

Parameter
Name Description
value HttpOperation
Returns
Type Description
OperationDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OperationDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationDetails.Builder
Overrides

setDeprecated(boolean value)

public OperationDetails.Builder setDeprecated(boolean value)

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];

Parameter
Name Description
value boolean

The deprecated to set.

Returns
Type Description
OperationDetails.Builder

This builder for chaining.

setDescription(String value)

public OperationDetails.Builder setDescription(String value)

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];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
OperationDetails.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public OperationDetails.Builder setDescriptionBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
OperationDetails.Builder

This builder for chaining.

setDocumentation(Documentation value)

public OperationDetails.Builder setDocumentation(Documentation value)

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];

Parameter
Name Description
value Documentation
Returns
Type Description
OperationDetails.Builder

setDocumentation(Documentation.Builder builderForValue)

public OperationDetails.Builder setDocumentation(Documentation.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Documentation.Builder
Returns
Type Description
OperationDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OperationDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationDetails.Builder
Overrides

setHttpOperation(HttpOperation value)

public OperationDetails.Builder setHttpOperation(HttpOperation value)

The HTTP Operation.

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

Parameter
Name Description
value HttpOperation
Returns
Type Description
OperationDetails.Builder

setHttpOperation(HttpOperation.Builder builderForValue)

public OperationDetails.Builder setHttpOperation(HttpOperation.Builder builderForValue)

The HTTP Operation.

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

Parameter
Name Description
builderForValue HttpOperation.Builder
Returns
Type Description
OperationDetails.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OperationDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OperationDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OperationDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationDetails.Builder
Overrides