Package com.google.cloud.apigateway.v1
Class ApiConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.apigateway.v1.ApiConfig
-
- All Implemented Interfaces:
ApiConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ApiConfig extends com.google.protobuf.GeneratedMessageV3 implements ApiConfigOrBuilder
An API Configuration is a combination of settings for both the Managed Service and Gateways serving this API Config.
Protobuf typegoogle.cloud.apigateway.v1.ApiConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApiConfig.BuilderAn API Configuration is a combination of settings for both the Managed Service and Gateways serving this API Config.static classApiConfig.FileA lightweight description of a file.static interfaceApiConfig.FileOrBuilderstatic classApiConfig.GrpcServiceDefinitionA gRPC service definition.static interfaceApiConfig.GrpcServiceDefinitionOrBuilderstatic classApiConfig.OpenApiDocumentAn OpenAPI Specification Document describing an API.static interfaceApiConfig.OpenApiDocumentOrBuilderstatic classApiConfig.StateAll the possible API Config states.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intGATEWAY_SERVICE_ACCOUNT_FIELD_NUMBERstatic intGRPC_SERVICES_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intMANAGED_SERVICE_CONFIGS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOPENAPI_DOCUMENTS_FIELD_NUMBERstatic intSERVICE_CONFIG_ID_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static ApiConfiggetDefaultInstance()ApiConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Optional.com.google.protobuf.ByteStringgetDisplayNameBytes()Optional.StringgetGatewayServiceAccount()Immutable.com.google.protobuf.ByteStringgetGatewayServiceAccountBytes()Immutable.ApiConfig.GrpcServiceDefinitiongetGrpcServices(int index)Optional.intgetGrpcServicesCount()Optional.List<ApiConfig.GrpcServiceDefinition>getGrpcServicesList()Optional.ApiConfig.GrpcServiceDefinitionOrBuildergetGrpcServicesOrBuilder(int index)Optional.List<? extends ApiConfig.GrpcServiceDefinitionOrBuilder>getGrpcServicesOrBuilderList()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.ApiConfig.FilegetManagedServiceConfigs(int index)Optional.intgetManagedServiceConfigsCount()Optional.List<ApiConfig.File>getManagedServiceConfigsList()Optional.ApiConfig.FileOrBuildergetManagedServiceConfigsOrBuilder(int index)Optional.List<? extends ApiConfig.FileOrBuilder>getManagedServiceConfigsOrBuilderList()Optional.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.ApiConfig.OpenApiDocumentgetOpenapiDocuments(int index)Optional.intgetOpenapiDocumentsCount()Optional.List<ApiConfig.OpenApiDocument>getOpenapiDocumentsList()Optional.ApiConfig.OpenApiDocumentOrBuildergetOpenapiDocumentsOrBuilder(int index)Optional.List<? extends ApiConfig.OpenApiDocumentOrBuilder>getOpenapiDocumentsOrBuilderList()Optional.com.google.protobuf.Parser<ApiConfig>getParserForType()intgetSerializedSize()StringgetServiceConfigId()Output only.com.google.protobuf.ByteStringgetServiceConfigIdBytes()Output only.ApiConfig.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.inthashCode()booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static ApiConfig.BuildernewBuilder()static ApiConfig.BuildernewBuilder(ApiConfig prototype)ApiConfig.BuildernewBuilderForType()protected ApiConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ApiConfigparseDelimitedFrom(InputStream input)static ApiConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiConfigparseFrom(byte[] data)static ApiConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiConfigparseFrom(com.google.protobuf.ByteString data)static ApiConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiConfigparseFrom(com.google.protobuf.CodedInputStream input)static ApiConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiConfigparseFrom(InputStream input)static ApiConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiConfigparseFrom(ByteBuffer data)static ApiConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ApiConfig>parser()ApiConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GATEWAY_SERVICE_ACCOUNT_FIELD_NUMBER
public static final int GATEWAY_SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_CONFIG_ID_FIELD_NUMBER
public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPENAPI_DOCUMENTS_FIELD_NUMBER
public static final int OPENAPI_DOCUMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRPC_SERVICES_FIELD_NUMBER
public static final int GRPC_SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANAGED_SERVICE_CONFIGS_FIELD_NUMBER
public static final int MANAGED_SERVICE_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceApiConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceApiConfigOrBuilder- Returns:
- The bytes for name.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Created time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceApiConfigOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Created time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceApiConfigOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Created time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceApiConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Updated time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceApiConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Updated time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceApiConfigOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Updated time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceApiConfigOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ApiConfigOrBuilderOptional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceApiConfigOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceApiConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceApiConfigOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceApiConfigOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceApiConfigOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceApiConfigOrBuilder
-
getDisplayName
public String getDisplayName()
Optional. Display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceApiConfigOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Optional. Display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceApiConfigOrBuilder- Returns:
- The bytes for displayName.
-
getGatewayServiceAccount
public String getGatewayServiceAccount()
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email (`{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`) or its full resource name (`projects/{PROJECT}/accounts/{UNIQUE_ID}`). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.string gateway_service_account = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getGatewayServiceAccountin interfaceApiConfigOrBuilder- Returns:
- The gatewayServiceAccount.
-
getGatewayServiceAccountBytes
public com.google.protobuf.ByteString getGatewayServiceAccountBytes()
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email (`{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`) or its full resource name (`projects/{PROJECT}/accounts/{UNIQUE_ID}`). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.string gateway_service_account = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getGatewayServiceAccountBytesin interfaceApiConfigOrBuilder- Returns:
- The bytes for gatewayServiceAccount.
-
getServiceConfigId
public String getServiceConfigId()
Output only. The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
string service_config_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getServiceConfigIdin interfaceApiConfigOrBuilder- Returns:
- The serviceConfigId.
-
getServiceConfigIdBytes
public com.google.protobuf.ByteString getServiceConfigIdBytes()
Output only. The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
string service_config_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getServiceConfigIdBytesin interfaceApiConfigOrBuilder- Returns:
- The bytes for serviceConfigId.
-
getStateValue
public int getStateValue()
Output only. State of the API Config.
.google.cloud.apigateway.v1.ApiConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceApiConfigOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public ApiConfig.State getState()
Output only. State of the API Config.
.google.cloud.apigateway.v1.ApiConfig.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceApiConfigOrBuilder- Returns:
- The state.
-
getOpenapiDocumentsList
public List<ApiConfig.OpenApiDocument> getOpenapiDocumentsList()
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.OpenApiDocument openapi_documents = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOpenapiDocumentsListin interfaceApiConfigOrBuilder
-
getOpenapiDocumentsOrBuilderList
public List<? extends ApiConfig.OpenApiDocumentOrBuilder> getOpenapiDocumentsOrBuilderList()
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.OpenApiDocument openapi_documents = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOpenapiDocumentsOrBuilderListin interfaceApiConfigOrBuilder
-
getOpenapiDocumentsCount
public int getOpenapiDocumentsCount()
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.OpenApiDocument openapi_documents = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOpenapiDocumentsCountin interfaceApiConfigOrBuilder
-
getOpenapiDocuments
public ApiConfig.OpenApiDocument getOpenapiDocuments(int index)
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.OpenApiDocument openapi_documents = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOpenapiDocumentsin interfaceApiConfigOrBuilder
-
getOpenapiDocumentsOrBuilder
public ApiConfig.OpenApiDocumentOrBuilder getOpenapiDocumentsOrBuilder(int index)
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.OpenApiDocument openapi_documents = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOpenapiDocumentsOrBuilderin interfaceApiConfigOrBuilder
-
getGrpcServicesList
public List<ApiConfig.GrpcServiceDefinition> getGrpcServicesList()
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition grpc_services = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGrpcServicesListin interfaceApiConfigOrBuilder
-
getGrpcServicesOrBuilderList
public List<? extends ApiConfig.GrpcServiceDefinitionOrBuilder> getGrpcServicesOrBuilderList()
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition grpc_services = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGrpcServicesOrBuilderListin interfaceApiConfigOrBuilder
-
getGrpcServicesCount
public int getGrpcServicesCount()
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition grpc_services = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGrpcServicesCountin interfaceApiConfigOrBuilder
-
getGrpcServices
public ApiConfig.GrpcServiceDefinition getGrpcServices(int index)
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition grpc_services = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGrpcServicesin interfaceApiConfigOrBuilder
-
getGrpcServicesOrBuilder
public ApiConfig.GrpcServiceDefinitionOrBuilder getGrpcServicesOrBuilder(int index)
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
repeated .google.cloud.apigateway.v1.ApiConfig.GrpcServiceDefinition grpc_services = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGrpcServicesOrBuilderin interfaceApiConfigOrBuilder
-
getManagedServiceConfigsList
public List<ApiConfig.File> getManagedServiceConfigsList()
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
repeated .google.cloud.apigateway.v1.ApiConfig.File managed_service_configs = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getManagedServiceConfigsListin interfaceApiConfigOrBuilder
-
getManagedServiceConfigsOrBuilderList
public List<? extends ApiConfig.FileOrBuilder> getManagedServiceConfigsOrBuilderList()
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
repeated .google.cloud.apigateway.v1.ApiConfig.File managed_service_configs = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getManagedServiceConfigsOrBuilderListin interfaceApiConfigOrBuilder
-
getManagedServiceConfigsCount
public int getManagedServiceConfigsCount()
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
repeated .google.cloud.apigateway.v1.ApiConfig.File managed_service_configs = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getManagedServiceConfigsCountin interfaceApiConfigOrBuilder
-
getManagedServiceConfigs
public ApiConfig.File getManagedServiceConfigs(int index)
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
repeated .google.cloud.apigateway.v1.ApiConfig.File managed_service_configs = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getManagedServiceConfigsin interfaceApiConfigOrBuilder
-
getManagedServiceConfigsOrBuilder
public ApiConfig.FileOrBuilder getManagedServiceConfigsOrBuilder(int index)
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
repeated .google.cloud.apigateway.v1.ApiConfig.File managed_service_configs = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getManagedServiceConfigsOrBuilderin interfaceApiConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ApiConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApiConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ApiConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ApiConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ApiConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ApiConfig.Builder newBuilder()
-
newBuilder
public static ApiConfig.Builder newBuilder(ApiConfig prototype)
-
toBuilder
public ApiConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApiConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ApiConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ApiConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<ApiConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApiConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-