Class ApiConfig.OpenApiDocument.Builder (2.6.0)

public static final class ApiConfig.OpenApiDocument.Builder extends GeneratedMessageV3.Builder<ApiConfig.OpenApiDocument.Builder> implements ApiConfig.OpenApiDocumentOrBuilder

An OpenAPI Specification Document describing an API.

Protobuf type google.cloud.apigateway.v1.ApiConfig.OpenApiDocument

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApiConfig.OpenApiDocument.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

build()

public ApiConfig.OpenApiDocument build()
Returns
TypeDescription
ApiConfig.OpenApiDocument

buildPartial()

public ApiConfig.OpenApiDocument buildPartial()
Returns
TypeDescription
ApiConfig.OpenApiDocument

clear()

public ApiConfig.OpenApiDocument.Builder clear()
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

clearDocument()

public ApiConfig.OpenApiDocument.Builder clearDocument()

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder

clearField(Descriptors.FieldDescriptor field)

public ApiConfig.OpenApiDocument.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApiConfig.OpenApiDocument.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

clone()

public ApiConfig.OpenApiDocument.Builder clone()
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

getDefaultInstanceForType()

public ApiConfig.OpenApiDocument getDefaultInstanceForType()
Returns
TypeDescription
ApiConfig.OpenApiDocument

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocument()

public ApiConfig.File getDocument()

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Returns
TypeDescription
ApiConfig.File

The document.

getDocumentBuilder()

public ApiConfig.File.Builder getDocumentBuilder()

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Returns
TypeDescription
ApiConfig.File.Builder

getDocumentOrBuilder()

public ApiConfig.FileOrBuilder getDocumentOrBuilder()

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Returns
TypeDescription
ApiConfig.FileOrBuilder

hasDocument()

public boolean hasDocument()

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Returns
TypeDescription
boolean

Whether the document field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDocument(ApiConfig.File value)

public ApiConfig.OpenApiDocument.Builder mergeDocument(ApiConfig.File value)

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Parameter
NameDescription
valueApiConfig.File
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder

mergeFrom(ApiConfig.OpenApiDocument other)

public ApiConfig.OpenApiDocument.Builder mergeFrom(ApiConfig.OpenApiDocument other)
Parameter
NameDescription
otherApiConfig.OpenApiDocument
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApiConfig.OpenApiDocument.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ApiConfig.OpenApiDocument.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApiConfig.OpenApiDocument.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

setDocument(ApiConfig.File value)

public ApiConfig.OpenApiDocument.Builder setDocument(ApiConfig.File value)

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Parameter
NameDescription
valueApiConfig.File
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder

setDocument(ApiConfig.File.Builder builderForValue)

public ApiConfig.OpenApiDocument.Builder setDocument(ApiConfig.File.Builder builderForValue)

The OpenAPI Specification document file.

.google.cloud.apigateway.v1.ApiConfig.File document = 1;

Parameter
NameDescription
builderForValueApiConfig.File.Builder
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ApiConfig.OpenApiDocument.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

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

public ApiConfig.OpenApiDocument.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApiConfig.OpenApiDocument.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApiConfig.OpenApiDocument.Builder
Overrides