Class SpecDetails.Builder (0.2.0)

public static final class SpecDetails.Builder extends GeneratedMessageV3.Builder<SpecDetails.Builder> implements SpecDetailsOrBuilder

SpecDetails contains the details parsed from supported spec types.

Protobuf type google.cloud.apihub.v1.SpecDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SpecDetails build()
Returns
Type Description
SpecDetails

buildPartial()

public SpecDetails buildPartial()
Returns
Type Description
SpecDetails

clear()

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

clearDescription()

public SpecDetails.Builder clearDescription()

Output only. The description of the spec.

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

Returns
Type Description
SpecDetails.Builder

This builder for chaining.

clearDetails()

public SpecDetails.Builder clearDetails()
Returns
Type Description
SpecDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOpenApiSpecDetails()

public SpecDetails.Builder clearOpenApiSpecDetails()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SpecDetails.Builder

clone()

public SpecDetails.Builder clone()
Returns
Type Description
SpecDetails.Builder
Overrides

getDefaultInstanceForType()

public SpecDetails getDefaultInstanceForType()
Returns
Type Description
SpecDetails

getDescription()

public String getDescription()

Output only. The description of the spec.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description of the spec.

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

getDetailsCase()

public SpecDetails.DetailsCase getDetailsCase()
Returns
Type Description
SpecDetails.DetailsCase

getOpenApiSpecDetails()

public OpenApiSpecDetails getOpenApiSpecDetails()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OpenApiSpecDetails

The openApiSpecDetails.

getOpenApiSpecDetailsBuilder()

public OpenApiSpecDetails.Builder getOpenApiSpecDetailsBuilder()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OpenApiSpecDetails.Builder

getOpenApiSpecDetailsOrBuilder()

public OpenApiSpecDetailsOrBuilder getOpenApiSpecDetailsOrBuilder()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OpenApiSpecDetailsOrBuilder

hasOpenApiSpecDetails()

public boolean hasOpenApiSpecDetails()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the openApiSpecDetails field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SpecDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOpenApiSpecDetails(OpenApiSpecDetails value)

public SpecDetails.Builder mergeOpenApiSpecDetails(OpenApiSpecDetails value)

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value OpenApiSpecDetails
Returns
Type Description
SpecDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDescription(String value)

public SpecDetails.Builder setDescription(String value)

Output only. The description of the spec.

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

Parameter
Name Description
value String

The description to set.

Returns
Type Description
SpecDetails.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public SpecDetails.Builder setDescriptionBytes(ByteString value)

Output only. The description of the spec.

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

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
SpecDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOpenApiSpecDetails(OpenApiSpecDetails value)

public SpecDetails.Builder setOpenApiSpecDetails(OpenApiSpecDetails value)

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value OpenApiSpecDetails
Returns
Type Description
SpecDetails.Builder

setOpenApiSpecDetails(OpenApiSpecDetails.Builder builderForValue)

public SpecDetails.Builder setOpenApiSpecDetails(OpenApiSpecDetails.Builder builderForValue)

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue OpenApiSpecDetails.Builder
Returns
Type Description
SpecDetails.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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