Package com.google.api
Class Service
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.api.Service
- All Implemented Interfaces:
ServiceOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Service
extends com.google.protobuf.GeneratedMessageV3
implements ServiceOrBuilder
`Service` is the root object of Google API service configuration (service config). It describes the basic information about a logical service, such as the service name and the user-facing title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. For more information, see each proto message definition. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis: - name: google.calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*" restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*" address: calendar.example.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_authProtobuf type
google.api.Service
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
`Service` is the root object of Google API service configuration (service config).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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.protobuf.Api
getApis
(int index) A list of API interfaces exported by this service.int
A list of API interfaces exported by this service.List<com.google.protobuf.Api>
A list of API interfaces exported by this service.com.google.protobuf.ApiOrBuilder
getApisOrBuilder
(int index) A list of API interfaces exported by this service.List<? extends com.google.protobuf.ApiOrBuilder>
A list of API interfaces exported by this service.Auth configuration.Auth configuration.API backend configuration.API backend configuration.Billing configuration.Billing configuration.com.google.protobuf.UInt32Value
Obsolete.com.google.protobuf.UInt32ValueOrBuilder
Obsolete.Context configuration.Context configuration.Configuration for the service control plane.Configuration for the service control plane.static Service
static final com.google.protobuf.Descriptors.Descriptor
Additional API documentation.Additional API documentation.getEndpoints
(int index) Configuration for network endpoints.int
Configuration for network endpoints.Configuration for network endpoints.getEndpointsOrBuilder
(int index) Configuration for network endpoints.List<? extends EndpointOrBuilder>
Configuration for network endpoints.com.google.protobuf.Enum
getEnums
(int index) A list of all enum types included in this API service.int
A list of all enum types included in this API service.List<com.google.protobuf.Enum>
A list of all enum types included in this API service.com.google.protobuf.EnumOrBuilder
getEnumsOrBuilder
(int index) A list of all enum types included in this API service.List<? extends com.google.protobuf.EnumOrBuilder>
A list of all enum types included in this API service.getHttp()
HTTP configuration.HTTP configuration.getId()
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose.com.google.protobuf.ByteString
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose.Logging configuration.Logging configuration.getLogs
(int index) Defines the logs used by this service.int
Defines the logs used by this service.Defines the logs used by this service.getLogsOrBuilder
(int index) Defines the logs used by this service.List<? extends LogDescriptorOrBuilder>
Defines the logs used by this service.getMetrics
(int index) Defines the metrics used by this service.int
Defines the metrics used by this service.Defines the metrics used by this service.getMetricsOrBuilder
(int index) Defines the metrics used by this service.List<? extends MetricDescriptorOrBuilder>
Defines the metrics used by this service.getMonitoredResources
(int index) Defines the monitored resources used by this service.int
Defines the monitored resources used by this service.Defines the monitored resources used by this service.getMonitoredResourcesOrBuilder
(int index) Defines the monitored resources used by this service.List<? extends MonitoredResourceDescriptorOrBuilder>
Defines the monitored resources used by this service.Monitoring configuration.Monitoring configuration.getName()
The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`.com.google.protobuf.ByteString
The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`.com.google.protobuf.Parser<Service>
The Google project that owns this service.com.google.protobuf.ByteString
The Google project that owns this service.Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.getQuota()
Quota configuration.Quota configuration.int
Output only.Output only.System parameter configuration.System parameter configuration.getTitle()
The product title for this service, it is the name displayed in Google Cloud Console.com.google.protobuf.ByteString
The product title for this service, it is the name displayed in Google Cloud Console.com.google.protobuf.Type
getTypes
(int index) A list of all proto message types included in this API service.int
A list of all proto message types included in this API service.List<com.google.protobuf.Type>
A list of all proto message types included in this API service.com.google.protobuf.TypeOrBuilder
getTypesOrBuilder
(int index) A list of all proto message types included in this API service.List<? extends com.google.protobuf.TypeOrBuilder>
A list of all proto message types included in this API service.getUsage()
Configuration controlling usage of this service.Configuration controlling usage of this service.boolean
Auth configuration.boolean
API backend configuration.boolean
Billing configuration.boolean
Obsolete.boolean
Context configuration.boolean
Configuration for the service control plane.boolean
Additional API documentation.int
hashCode()
boolean
hasHttp()
HTTP configuration.boolean
Logging configuration.boolean
Monitoring configuration.boolean
Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.boolean
hasQuota()
Quota configuration.boolean
Output only.boolean
System parameter configuration.boolean
hasUsage()
Configuration controlling usage of this service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Service.Builder
static Service.Builder
newBuilder
(Service prototype) protected Service.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Service
parseDelimitedFrom
(InputStream input) static Service
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service
parseFrom
(byte[] data) static Service
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service
parseFrom
(com.google.protobuf.ByteString data) static Service
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service
parseFrom
(com.google.protobuf.CodedInputStream input) static Service
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service
parseFrom
(InputStream input) static Service
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Service
parseFrom
(ByteBuffer data) static Service
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Service>
parser()
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, internalGetMapField, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
PRODUCER_PROJECT_ID_FIELD_NUMBER
public static final int PRODUCER_PROJECT_ID_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
APIS_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER- See Also:
-
TYPES_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER- See Also:
-
ENUMS_FIELD_NUMBER
public static final int ENUMS_FIELD_NUMBER- See Also:
-
DOCUMENTATION_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER- See Also:
-
BACKEND_FIELD_NUMBER
public static final int BACKEND_FIELD_NUMBER- See Also:
-
HTTP_FIELD_NUMBER
public static final int HTTP_FIELD_NUMBER- See Also:
-
QUOTA_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER- See Also:
-
AUTHENTICATION_FIELD_NUMBER
public static final int AUTHENTICATION_FIELD_NUMBER- See Also:
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER- See Also:
-
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER- See Also:
-
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER- See Also:
-
CONTROL_FIELD_NUMBER
public static final int CONTROL_FIELD_NUMBER- See Also:
-
LOGS_FIELD_NUMBER
public static final int LOGS_FIELD_NUMBER- See Also:
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER- See Also:
-
MONITORED_RESOURCES_FIELD_NUMBER
public static final int MONITORED_RESOURCES_FIELD_NUMBER- See Also:
-
BILLING_FIELD_NUMBER
public static final int BILLING_FIELD_NUMBER- See Also:
-
LOGGING_FIELD_NUMBER
public static final int LOGGING_FIELD_NUMBER- See Also:
-
MONITORING_FIELD_NUMBER
public static final int MONITORING_FIELD_NUMBER- See Also:
-
SYSTEM_PARAMETERS_FIELD_NUMBER
public static final int SYSTEM_PARAMETERS_FIELD_NUMBER- See Also:
-
SOURCE_INFO_FIELD_NUMBER
public static final int SOURCE_INFO_FIELD_NUMBER- See Also:
-
PUBLISHING_FIELD_NUMBER
public static final int PUBLISHING_FIELD_NUMBER- See Also:
-
CONFIG_VERSION_FIELD_NUMBER
public static final int CONFIG_VERSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.
string name = 1;
- Specified by:
getName
in interfaceServiceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.
string name = 1;
- Specified by:
getNameBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for name.
-
getTitle
The product title for this service, it is the name displayed in Google Cloud Console.
string title = 2;
- Specified by:
getTitle
in interfaceServiceOrBuilder
- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()The product title for this service, it is the name displayed in Google Cloud Console.
string title = 2;
- Specified by:
getTitleBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for title.
-
getProducerProjectId
The Google project that owns this service.
string producer_project_id = 22;
- Specified by:
getProducerProjectId
in interfaceServiceOrBuilder
- Returns:
- The producerProjectId.
-
getProducerProjectIdBytes
public com.google.protobuf.ByteString getProducerProjectIdBytes()The Google project that owns this service.
string producer_project_id = 22;
- Specified by:
getProducerProjectIdBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for producerProjectId.
-
getId
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.
string id = 33;
- Specified by:
getId
in interfaceServiceOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead.
string id = 33;
- Specified by:
getIdBytes
in interfaceServiceOrBuilder
- Returns:
- The bytes for id.
-
getApisList
A list of API interfaces exported by this service. Only the `name` field of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.
repeated .google.protobuf.Api apis = 3;
- Specified by:
getApisList
in interfaceServiceOrBuilder
-
getApisOrBuilderList
A list of API interfaces exported by this service. Only the `name` field of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.
repeated .google.protobuf.Api apis = 3;
- Specified by:
getApisOrBuilderList
in interfaceServiceOrBuilder
-
getApisCount
public int getApisCount()A list of API interfaces exported by this service. Only the `name` field of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.
repeated .google.protobuf.Api apis = 3;
- Specified by:
getApisCount
in interfaceServiceOrBuilder
-
getApis
public com.google.protobuf.Api getApis(int index) A list of API interfaces exported by this service. Only the `name` field of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.
repeated .google.protobuf.Api apis = 3;
- Specified by:
getApis
in interfaceServiceOrBuilder
-
getApisOrBuilder
public com.google.protobuf.ApiOrBuilder getApisOrBuilder(int index) A list of API interfaces exported by this service. Only the `name` field of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.
repeated .google.protobuf.Api apis = 3;
- Specified by:
getApisOrBuilder
in interfaceServiceOrBuilder
-
getTypesList
A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;
- Specified by:
getTypesList
in interfaceServiceOrBuilder
-
getTypesOrBuilderList
A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;
- Specified by:
getTypesOrBuilderList
in interfaceServiceOrBuilder
-
getTypesCount
public int getTypesCount()A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;
- Specified by:
getTypesCount
in interfaceServiceOrBuilder
-
getTypes
public com.google.protobuf.Type getTypes(int index) A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;
- Specified by:
getTypes
in interfaceServiceOrBuilder
-
getTypesOrBuilder
public com.google.protobuf.TypeOrBuilder getTypesOrBuilder(int index) A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;
- Specified by:
getTypesOrBuilder
in interfaceServiceOrBuilder
-
getEnumsList
A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;
- Specified by:
getEnumsList
in interfaceServiceOrBuilder
-
getEnumsOrBuilderList
A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;
- Specified by:
getEnumsOrBuilderList
in interfaceServiceOrBuilder
-
getEnumsCount
public int getEnumsCount()A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;
- Specified by:
getEnumsCount
in interfaceServiceOrBuilder
-
getEnums
public com.google.protobuf.Enum getEnums(int index) A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;
- Specified by:
getEnums
in interfaceServiceOrBuilder
-
getEnumsOrBuilder
public com.google.protobuf.EnumOrBuilder getEnumsOrBuilder(int index) A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;
- Specified by:
getEnumsOrBuilder
in interfaceServiceOrBuilder
-
hasDocumentation
public boolean hasDocumentation()Additional API documentation.
.google.api.Documentation documentation = 6;
- Specified by:
hasDocumentation
in interfaceServiceOrBuilder
- Returns:
- Whether the documentation field is set.
-
getDocumentation
Additional API documentation.
.google.api.Documentation documentation = 6;
- Specified by:
getDocumentation
in interfaceServiceOrBuilder
- Returns:
- The documentation.
-
getDocumentationOrBuilder
Additional API documentation.
.google.api.Documentation documentation = 6;
- Specified by:
getDocumentationOrBuilder
in interfaceServiceOrBuilder
-
hasBackend
public boolean hasBackend()API backend configuration.
.google.api.Backend backend = 8;
- Specified by:
hasBackend
in interfaceServiceOrBuilder
- Returns:
- Whether the backend field is set.
-
getBackend
API backend configuration.
.google.api.Backend backend = 8;
- Specified by:
getBackend
in interfaceServiceOrBuilder
- Returns:
- The backend.
-
getBackendOrBuilder
API backend configuration.
.google.api.Backend backend = 8;
- Specified by:
getBackendOrBuilder
in interfaceServiceOrBuilder
-
hasHttp
public boolean hasHttp()HTTP configuration.
.google.api.Http http = 9;
- Specified by:
hasHttp
in interfaceServiceOrBuilder
- Returns:
- Whether the http field is set.
-
getHttp
HTTP configuration.
.google.api.Http http = 9;
- Specified by:
getHttp
in interfaceServiceOrBuilder
- Returns:
- The http.
-
getHttpOrBuilder
HTTP configuration.
.google.api.Http http = 9;
- Specified by:
getHttpOrBuilder
in interfaceServiceOrBuilder
-
hasQuota
public boolean hasQuota()Quota configuration.
.google.api.Quota quota = 10;
- Specified by:
hasQuota
in interfaceServiceOrBuilder
- Returns:
- Whether the quota field is set.
-
getQuota
Quota configuration.
.google.api.Quota quota = 10;
- Specified by:
getQuota
in interfaceServiceOrBuilder
- Returns:
- The quota.
-
getQuotaOrBuilder
Quota configuration.
.google.api.Quota quota = 10;
- Specified by:
getQuotaOrBuilder
in interfaceServiceOrBuilder
-
hasAuthentication
public boolean hasAuthentication()Auth configuration.
.google.api.Authentication authentication = 11;
- Specified by:
hasAuthentication
in interfaceServiceOrBuilder
- Returns:
- Whether the authentication field is set.
-
getAuthentication
Auth configuration.
.google.api.Authentication authentication = 11;
- Specified by:
getAuthentication
in interfaceServiceOrBuilder
- Returns:
- The authentication.
-
getAuthenticationOrBuilder
Auth configuration.
.google.api.Authentication authentication = 11;
- Specified by:
getAuthenticationOrBuilder
in interfaceServiceOrBuilder
-
hasContext
public boolean hasContext()Context configuration.
.google.api.Context context = 12;
- Specified by:
hasContext
in interfaceServiceOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
Context configuration.
.google.api.Context context = 12;
- Specified by:
getContext
in interfaceServiceOrBuilder
- Returns:
- The context.
-
getContextOrBuilder
Context configuration.
.google.api.Context context = 12;
- Specified by:
getContextOrBuilder
in interfaceServiceOrBuilder
-
hasUsage
public boolean hasUsage()Configuration controlling usage of this service.
.google.api.Usage usage = 15;
- Specified by:
hasUsage
in interfaceServiceOrBuilder
- Returns:
- Whether the usage field is set.
-
getUsage
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
- Specified by:
getUsage
in interfaceServiceOrBuilder
- Returns:
- The usage.
-
getUsageOrBuilder
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
- Specified by:
getUsageOrBuilder
in interfaceServiceOrBuilder
-
getEndpointsList
Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.
repeated .google.api.Endpoint endpoints = 18;
- Specified by:
getEndpointsList
in interfaceServiceOrBuilder
-
getEndpointsOrBuilderList
Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.
repeated .google.api.Endpoint endpoints = 18;
- Specified by:
getEndpointsOrBuilderList
in interfaceServiceOrBuilder
-
getEndpointsCount
public int getEndpointsCount()Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.
repeated .google.api.Endpoint endpoints = 18;
- Specified by:
getEndpointsCount
in interfaceServiceOrBuilder
-
getEndpoints
Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.
repeated .google.api.Endpoint endpoints = 18;
- Specified by:
getEndpoints
in interfaceServiceOrBuilder
-
getEndpointsOrBuilder
Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.
repeated .google.api.Endpoint endpoints = 18;
- Specified by:
getEndpointsOrBuilder
in interfaceServiceOrBuilder
-
hasControl
public boolean hasControl()Configuration for the service control plane.
.google.api.Control control = 21;
- Specified by:
hasControl
in interfaceServiceOrBuilder
- Returns:
- Whether the control field is set.
-
getControl
Configuration for the service control plane.
.google.api.Control control = 21;
- Specified by:
getControl
in interfaceServiceOrBuilder
- Returns:
- The control.
-
getControlOrBuilder
Configuration for the service control plane.
.google.api.Control control = 21;
- Specified by:
getControlOrBuilder
in interfaceServiceOrBuilder
-
getLogsList
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
- Specified by:
getLogsList
in interfaceServiceOrBuilder
-
getLogsOrBuilderList
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
- Specified by:
getLogsOrBuilderList
in interfaceServiceOrBuilder
-
getLogsCount
public int getLogsCount()Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
- Specified by:
getLogsCount
in interfaceServiceOrBuilder
-
getLogs
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
- Specified by:
getLogs
in interfaceServiceOrBuilder
-
getLogsOrBuilder
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
- Specified by:
getLogsOrBuilder
in interfaceServiceOrBuilder
-
getMetricsList
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
- Specified by:
getMetricsList
in interfaceServiceOrBuilder
-
getMetricsOrBuilderList
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
- Specified by:
getMetricsOrBuilderList
in interfaceServiceOrBuilder
-
getMetricsCount
public int getMetricsCount()Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
- Specified by:
getMetricsCount
in interfaceServiceOrBuilder
-
getMetrics
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
- Specified by:
getMetrics
in interfaceServiceOrBuilder
-
getMetricsOrBuilder
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
- Specified by:
getMetricsOrBuilder
in interfaceServiceOrBuilder
-
getMonitoredResourcesList
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
- Specified by:
getMonitoredResourcesList
in interfaceServiceOrBuilder
-
getMonitoredResourcesOrBuilderList
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
- Specified by:
getMonitoredResourcesOrBuilderList
in interfaceServiceOrBuilder
-
getMonitoredResourcesCount
public int getMonitoredResourcesCount()Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
- Specified by:
getMonitoredResourcesCount
in interfaceServiceOrBuilder
-
getMonitoredResources
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
- Specified by:
getMonitoredResources
in interfaceServiceOrBuilder
-
getMonitoredResourcesOrBuilder
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
- Specified by:
getMonitoredResourcesOrBuilder
in interfaceServiceOrBuilder
-
hasBilling
public boolean hasBilling()Billing configuration.
.google.api.Billing billing = 26;
- Specified by:
hasBilling
in interfaceServiceOrBuilder
- Returns:
- Whether the billing field is set.
-
getBilling
Billing configuration.
.google.api.Billing billing = 26;
- Specified by:
getBilling
in interfaceServiceOrBuilder
- Returns:
- The billing.
-
getBillingOrBuilder
Billing configuration.
.google.api.Billing billing = 26;
- Specified by:
getBillingOrBuilder
in interfaceServiceOrBuilder
-
hasLogging
public boolean hasLogging()Logging configuration.
.google.api.Logging logging = 27;
- Specified by:
hasLogging
in interfaceServiceOrBuilder
- Returns:
- Whether the logging field is set.
-
getLogging
Logging configuration.
.google.api.Logging logging = 27;
- Specified by:
getLogging
in interfaceServiceOrBuilder
- Returns:
- The logging.
-
getLoggingOrBuilder
Logging configuration.
.google.api.Logging logging = 27;
- Specified by:
getLoggingOrBuilder
in interfaceServiceOrBuilder
-
hasMonitoring
public boolean hasMonitoring()Monitoring configuration.
.google.api.Monitoring monitoring = 28;
- Specified by:
hasMonitoring
in interfaceServiceOrBuilder
- Returns:
- Whether the monitoring field is set.
-
getMonitoring
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
- Specified by:
getMonitoring
in interfaceServiceOrBuilder
- Returns:
- The monitoring.
-
getMonitoringOrBuilder
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
- Specified by:
getMonitoringOrBuilder
in interfaceServiceOrBuilder
-
hasSystemParameters
public boolean hasSystemParameters()System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
- Specified by:
hasSystemParameters
in interfaceServiceOrBuilder
- Returns:
- Whether the systemParameters field is set.
-
getSystemParameters
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
- Specified by:
getSystemParameters
in interfaceServiceOrBuilder
- Returns:
- The systemParameters.
-
getSystemParametersOrBuilder
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
- Specified by:
getSystemParametersOrBuilder
in interfaceServiceOrBuilder
-
hasSourceInfo
public boolean hasSourceInfo()Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
- Specified by:
hasSourceInfo
in interfaceServiceOrBuilder
- Returns:
- Whether the sourceInfo field is set.
-
getSourceInfo
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
- Specified by:
getSourceInfo
in interfaceServiceOrBuilder
- Returns:
- The sourceInfo.
-
getSourceInfoOrBuilder
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
- Specified by:
getSourceInfoOrBuilder
in interfaceServiceOrBuilder
-
hasPublishing
public boolean hasPublishing()Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
- Specified by:
hasPublishing
in interfaceServiceOrBuilder
- Returns:
- Whether the publishing field is set.
-
getPublishing
Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
- Specified by:
getPublishing
in interfaceServiceOrBuilder
- Returns:
- The publishing.
-
getPublishingOrBuilder
Settings for [Google Cloud Client libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
- Specified by:
getPublishingOrBuilder
in interfaceServiceOrBuilder
-
hasConfigVersion
public boolean hasConfigVersion()Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.
.google.protobuf.UInt32Value config_version = 20;
- Specified by:
hasConfigVersion
in interfaceServiceOrBuilder
- Returns:
- Whether the configVersion field is set.
-
getConfigVersion
public com.google.protobuf.UInt32Value getConfigVersion()Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.
.google.protobuf.UInt32Value config_version = 20;
- Specified by:
getConfigVersion
in interfaceServiceOrBuilder
- Returns:
- The configVersion.
-
getConfigVersionOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getConfigVersionOrBuilder()Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`.
.google.protobuf.UInt32Value config_version = 20;
- Specified by:
getConfigVersionOrBuilder
in interfaceServiceOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 Service parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Service parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Service parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Service parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-