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 class
ApiConfig.Builder
An API Configuration is a combination of settings for both the Managed Service and Gateways serving this API Config.static class
ApiConfig.File
A lightweight description of a file.static interface
ApiConfig.FileOrBuilder
static class
ApiConfig.GrpcServiceDefinition
A gRPC service definition.static interface
ApiConfig.GrpcServiceDefinitionOrBuilder
static class
ApiConfig.OpenApiDocument
An OpenAPI Specification Document describing an API.static interface
ApiConfig.OpenApiDocumentOrBuilder
static class
ApiConfig.State
All 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 int
CREATE_TIME_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
GATEWAY_SERVICE_ACCOUNT_FIELD_NUMBER
static int
GRPC_SERVICES_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MANAGED_SERVICE_CONFIGS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OPENAPI_DOCUMENTS_FIELD_NUMBER
static int
SERVICE_CONFIG_ID_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static ApiConfig
getDefaultInstance()
ApiConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.String
getGatewayServiceAccount()
Immutable.com.google.protobuf.ByteString
getGatewayServiceAccountBytes()
Immutable.ApiConfig.GrpcServiceDefinition
getGrpcServices(int index)
Optional.int
getGrpcServicesCount()
Optional.List<ApiConfig.GrpcServiceDefinition>
getGrpcServicesList()
Optional.ApiConfig.GrpcServiceDefinitionOrBuilder
getGrpcServicesOrBuilder(int index)
Optional.List<? extends ApiConfig.GrpcServiceDefinitionOrBuilder>
getGrpcServicesOrBuilderList()
Optional.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.ApiConfig.File
getManagedServiceConfigs(int index)
Optional.int
getManagedServiceConfigsCount()
Optional.List<ApiConfig.File>
getManagedServiceConfigsList()
Optional.ApiConfig.FileOrBuilder
getManagedServiceConfigsOrBuilder(int index)
Optional.List<? extends ApiConfig.FileOrBuilder>
getManagedServiceConfigsOrBuilderList()
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.ApiConfig.OpenApiDocument
getOpenapiDocuments(int index)
Optional.int
getOpenapiDocumentsCount()
Optional.List<ApiConfig.OpenApiDocument>
getOpenapiDocumentsList()
Optional.ApiConfig.OpenApiDocumentOrBuilder
getOpenapiDocumentsOrBuilder(int index)
Optional.List<? extends ApiConfig.OpenApiDocumentOrBuilder>
getOpenapiDocumentsOrBuilderList()
Optional.com.google.protobuf.Parser<ApiConfig>
getParserForType()
int
getSerializedSize()
String
getServiceConfigId()
Output only.com.google.protobuf.ByteString
getServiceConfigIdBytes()
Output only.ApiConfig.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static ApiConfig.Builder
newBuilder()
static ApiConfig.Builder
newBuilder(ApiConfig prototype)
ApiConfig.Builder
newBuilderForType()
protected ApiConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ApiConfig
parseDelimitedFrom(InputStream input)
static ApiConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiConfig
parseFrom(byte[] data)
static ApiConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiConfig
parseFrom(com.google.protobuf.ByteString data)
static ApiConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static ApiConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiConfig
parseFrom(InputStream input)
static ApiConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiConfig
parseFrom(ByteBuffer data)
static ApiConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ApiConfig>
parser()
ApiConfig.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceApiConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Updated time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceApiConfigOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ApiConfigOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceApiConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in interfaceApiConfigOrBuilder
-
getDisplayName
public String getDisplayName()
Optional. Display name.
string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getGatewayServiceAccount
in 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:
getGatewayServiceAccountBytes
in 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:
getServiceConfigId
in 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:
getServiceConfigIdBytes
in 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:
getStateValue
in 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:
getState
in 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:
getOpenapiDocumentsList
in 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:
getOpenapiDocumentsOrBuilderList
in 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:
getOpenapiDocumentsCount
in 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:
getOpenapiDocuments
in 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:
getOpenapiDocumentsOrBuilder
in 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:
getGrpcServicesList
in 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:
getGrpcServicesOrBuilderList
in 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:
getGrpcServicesCount
in 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:
getGrpcServices
in 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:
getGrpcServicesOrBuilder
in 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:
getManagedServiceConfigsList
in 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:
getManagedServiceConfigsOrBuilderList
in 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:
getManagedServiceConfigsCount
in 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:
getManagedServiceConfigs
in 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:
getManagedServiceConfigsOrBuilder
in interfaceApiConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApiConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApiConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-