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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ApiConfig.OpenApiDocument.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ApiConfig.OpenApiDocument build()
Returns
buildPartial()
public ApiConfig.OpenApiDocument buildPartial()
Returns
clear()
public ApiConfig.OpenApiDocument.Builder clear()
Returns
Overrides
clearDocument()
public ApiConfig.OpenApiDocument.Builder clearDocument()
The OpenAPI Specification document file.
.google.cloud.apigateway.v1.ApiConfig.File document = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ApiConfig.OpenApiDocument.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ApiConfig.OpenApiDocument.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ApiConfig.OpenApiDocument.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ApiConfig.OpenApiDocument getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDocument()
public ApiConfig.File getDocument()
The OpenAPI Specification document file.
.google.cloud.apigateway.v1.ApiConfig.File document = 1;
Returns
getDocumentBuilder()
public ApiConfig.File.Builder getDocumentBuilder()
The OpenAPI Specification document file.
.google.cloud.apigateway.v1.ApiConfig.File document = 1;
Returns
getDocumentOrBuilder()
public ApiConfig.FileOrBuilder getDocumentOrBuilder()
The OpenAPI Specification document file.
.google.cloud.apigateway.v1.ApiConfig.File document = 1;
Returns
hasDocument()
public boolean hasDocument()
The OpenAPI Specification document file.
.google.cloud.apigateway.v1.ApiConfig.File document = 1;
Returns
Type | Description |
boolean | Whether the document field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(ApiConfig.OpenApiDocument other)
public ApiConfig.OpenApiDocument.Builder mergeFrom(ApiConfig.OpenApiDocument other)
Parameter
Returns
public ApiConfig.OpenApiDocument.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ApiConfig.OpenApiDocument.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ApiConfig.OpenApiDocument.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ApiConfig.OpenApiDocument.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ApiConfig.OpenApiDocument.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ApiConfig.OpenApiDocument.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides