Send feedback
Class SpecDetails.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.1.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SpecDetails . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SpecDetails build ()
buildPartial()
public SpecDetails buildPartial ()
clear()
public SpecDetails . Builder clear ()
Overrides
clearDescription()
public SpecDetails . Builder clearDescription ()
Output only. The description of the spec.
string description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearDetails()
public SpecDetails . Builder clearDetails ()
clearField(Descriptors.FieldDescriptor field)
public SpecDetails . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SpecDetails . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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];
clone()
public SpecDetails . Builder clone ()
Overrides
getDefaultInstanceForType()
public SpecDetails getDefaultInstanceForType ()
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 ()
Overrides
getDetailsCase()
public SpecDetails . DetailsCase getDetailsCase ()
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];
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];
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];
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SpecDetails other)
public SpecDetails . Builder mergeFrom ( SpecDetails other )
public SpecDetails . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SpecDetails . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SpecDetails . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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.
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.
setField(Descriptors.FieldDescriptor field, Object value)
public SpecDetails . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SpecDetails . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SpecDetails . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]