public final class Service extends GeneratedMessageV3 implements ServiceOrBuilder
`Service` is the root object of Google service configuration schema. It
describes basic information about a service, such as the name and the
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. See each proto message definition for details.
Example:
type: google.api.Service
config_version: 3
name: calendar.googleapis.com
title: Google Calendar API
apis:
- name: google.calendar.v3.Calendar
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_auth
Protobuf type google.api.Service| Modifier and Type | Class and Description |
|---|---|
static class |
Service.Builder
`Service` is the root object of Google service configuration schema.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
APIS_FIELD_NUMBER |
static int |
AUTHENTICATION_FIELD_NUMBER |
static int |
BACKEND_FIELD_NUMBER |
static int |
BILLING_FIELD_NUMBER |
static int |
CONFIG_VERSION_FIELD_NUMBER |
static int |
CONTEXT_FIELD_NUMBER |
static int |
CONTROL_FIELD_NUMBER |
static int |
DOCUMENTATION_FIELD_NUMBER |
static int |
ENDPOINTS_FIELD_NUMBER |
static int |
ENUMS_FIELD_NUMBER |
static int |
HTTP_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LOGGING_FIELD_NUMBER |
static int |
LOGS_FIELD_NUMBER |
static int |
METRICS_FIELD_NUMBER |
static int |
MONITORED_RESOURCES_FIELD_NUMBER |
static int |
MONITORING_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PRODUCER_PROJECT_ID_FIELD_NUMBER |
static int |
QUOTA_FIELD_NUMBER |
static int |
SOURCE_INFO_FIELD_NUMBER |
static int |
SYSTEM_PARAMETERS_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
static int |
TYPES_FIELD_NUMBER |
static int |
USAGE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Api |
getApis(int index)
A list of API interfaces exported by this service.
|
int |
getApisCount()
A list of API interfaces exported by this service.
|
java.util.List<Api> |
getApisList()
A list of API interfaces exported by this service.
|
ApiOrBuilder |
getApisOrBuilder(int index)
A list of API interfaces exported by this service.
|
java.util.List<? extends ApiOrBuilder> |
getApisOrBuilderList()
A list of API interfaces exported by this service.
|
Authentication |
getAuthentication()
Auth configuration.
|
AuthenticationOrBuilder |
getAuthenticationOrBuilder()
Auth configuration.
|
Backend |
getBackend()
API backend configuration.
|
BackendOrBuilder |
getBackendOrBuilder()
API backend configuration.
|
Billing |
getBilling()
Billing configuration.
|
BillingOrBuilder |
getBillingOrBuilder()
Billing configuration.
|
UInt32Value |
getConfigVersion()
The semantic version of the service configuration.
|
UInt32ValueOrBuilder |
getConfigVersionOrBuilder()
The semantic version of the service configuration.
|
Context |
getContext()
Context configuration.
|
ContextOrBuilder |
getContextOrBuilder()
Context configuration.
|
Control |
getControl()
Configuration for the service control plane.
|
ControlOrBuilder |
getControlOrBuilder()
Configuration for the service control plane.
|
static Service |
getDefaultInstance() |
Service |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Documentation |
getDocumentation()
Additional API documentation.
|
DocumentationOrBuilder |
getDocumentationOrBuilder()
Additional API documentation.
|
Endpoint |
getEndpoints(int index)
Configuration for network endpoints.
|
int |
getEndpointsCount()
Configuration for network endpoints.
|
java.util.List<Endpoint> |
getEndpointsList()
Configuration for network endpoints.
|
EndpointOrBuilder |
getEndpointsOrBuilder(int index)
Configuration for network endpoints.
|
java.util.List<? extends EndpointOrBuilder> |
getEndpointsOrBuilderList()
Configuration for network endpoints.
|
Enum |
getEnums(int index)
A list of all enum types included in this API service.
|
int |
getEnumsCount()
A list of all enum types included in this API service.
|
java.util.List<Enum> |
getEnumsList()
A list of all enum types included in this API service.
|
EnumOrBuilder |
getEnumsOrBuilder(int index)
A list of all enum types included in this API service.
|
java.util.List<? extends EnumOrBuilder> |
getEnumsOrBuilderList()
A list of all enum types included in this API service.
|
Http |
getHttp()
HTTP configuration.
|
HttpOrBuilder |
getHttpOrBuilder()
HTTP configuration.
|
java.lang.String |
getId()
A unique ID for a specific instance of this message, typically assigned
by the client for tracking purpose.
|
ByteString |
getIdBytes()
A unique ID for a specific instance of this message, typically assigned
by the client for tracking purpose.
|
Logging |
getLogging()
Logging configuration.
|
LoggingOrBuilder |
getLoggingOrBuilder()
Logging configuration.
|
LogDescriptor |
getLogs(int index)
Defines the logs used by this service.
|
int |
getLogsCount()
Defines the logs used by this service.
|
java.util.List<LogDescriptor> |
getLogsList()
Defines the logs used by this service.
|
LogDescriptorOrBuilder |
getLogsOrBuilder(int index)
Defines the logs used by this service.
|
java.util.List<? extends LogDescriptorOrBuilder> |
getLogsOrBuilderList()
Defines the logs used by this service.
|
MetricDescriptor |
getMetrics(int index)
Defines the metrics used by this service.
|
int |
getMetricsCount()
Defines the metrics used by this service.
|
java.util.List<MetricDescriptor> |
getMetricsList()
Defines the metrics used by this service.
|
MetricDescriptorOrBuilder |
getMetricsOrBuilder(int index)
Defines the metrics used by this service.
|
java.util.List<? extends MetricDescriptorOrBuilder> |
getMetricsOrBuilderList()
Defines the metrics used by this service.
|
MonitoredResourceDescriptor |
getMonitoredResources(int index)
Defines the monitored resources used by this service.
|
int |
getMonitoredResourcesCount()
Defines the monitored resources used by this service.
|
java.util.List<MonitoredResourceDescriptor> |
getMonitoredResourcesList()
Defines the monitored resources used by this service.
|
MonitoredResourceDescriptorOrBuilder |
getMonitoredResourcesOrBuilder(int index)
Defines the monitored resources used by this service.
|
java.util.List<? extends MonitoredResourceDescriptorOrBuilder> |
getMonitoredResourcesOrBuilderList()
Defines the monitored resources used by this service.
|
Monitoring |
getMonitoring()
Monitoring configuration.
|
MonitoringOrBuilder |
getMonitoringOrBuilder()
Monitoring configuration.
|
java.lang.String |
getName()
The service name, which is a DNS-like logical identifier for the
service, such as `calendar.googleapis.com`.
|
ByteString |
getNameBytes()
The service name, which is a DNS-like logical identifier for the
service, such as `calendar.googleapis.com`.
|
Parser<Service> |
getParserForType() |
java.lang.String |
getProducerProjectId()
The Google project that owns this service.
|
ByteString |
getProducerProjectIdBytes()
The Google project that owns this service.
|
Quota |
getQuota()
Quota configuration.
|
QuotaOrBuilder |
getQuotaOrBuilder()
Quota configuration.
|
int |
getSerializedSize() |
SourceInfo |
getSourceInfo()
Output only.
|
SourceInfoOrBuilder |
getSourceInfoOrBuilder()
Output only.
|
SystemParameters |
getSystemParameters()
System parameter configuration.
|
SystemParametersOrBuilder |
getSystemParametersOrBuilder()
System parameter configuration.
|
java.lang.String |
getTitle()
The product title for this service.
|
ByteString |
getTitleBytes()
The product title for this service.
|
Type |
getTypes(int index)
A list of all proto message types included in this API service.
|
int |
getTypesCount()
A list of all proto message types included in this API service.
|
java.util.List<Type> |
getTypesList()
A list of all proto message types included in this API service.
|
TypeOrBuilder |
getTypesOrBuilder(int index)
A list of all proto message types included in this API service.
|
java.util.List<? extends TypeOrBuilder> |
getTypesOrBuilderList()
A list of all proto message types included in this API service.
|
UnknownFieldSet |
getUnknownFields() |
Usage |
getUsage()
Configuration controlling usage of this service.
|
UsageOrBuilder |
getUsageOrBuilder()
Configuration controlling usage of this service.
|
boolean |
hasAuthentication()
Auth configuration.
|
boolean |
hasBackend()
API backend configuration.
|
boolean |
hasBilling()
Billing configuration.
|
boolean |
hasConfigVersion()
The semantic version of the service configuration.
|
boolean |
hasContext()
Context configuration.
|
boolean |
hasControl()
Configuration for the service control plane.
|
boolean |
hasDocumentation()
Additional API documentation.
|
int |
hashCode() |
boolean |
hasHttp()
HTTP configuration.
|
boolean |
hasLogging()
Logging configuration.
|
boolean |
hasMonitoring()
Monitoring configuration.
|
boolean |
hasQuota()
Quota configuration.
|
boolean |
hasSourceInfo()
Output only.
|
boolean |
hasSystemParameters()
System parameter configuration.
|
boolean |
hasUsage()
Configuration controlling usage of this service.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Service.Builder |
newBuilder() |
static Service.Builder |
newBuilder(Service prototype) |
Service.Builder |
newBuilderForType() |
protected Service.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Service |
parseDelimitedFrom(java.io.InputStream input) |
static Service |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(byte[] data) |
static Service |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(java.nio.ByteBuffer data) |
static Service |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(ByteString data) |
static Service |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(CodedInputStream input) |
static Service |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Service |
parseFrom(java.io.InputStream input) |
static Service |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Service> |
parser() |
Service.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CONFIG_VERSION_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int PRODUCER_PROJECT_ID_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER
public static final int TYPES_FIELD_NUMBER
public static final int ENUMS_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER
public static final int BACKEND_FIELD_NUMBER
public static final int HTTP_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER
public static final int AUTHENTICATION_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
public static final int CONTROL_FIELD_NUMBER
public static final int LOGS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
public static final int MONITORED_RESOURCES_FIELD_NUMBER
public static final int BILLING_FIELD_NUMBER
public static final int LOGGING_FIELD_NUMBER
public static final int MONITORING_FIELD_NUMBER
public static final int SYSTEM_PARAMETERS_FIELD_NUMBER
public static final int SOURCE_INFO_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean hasConfigVersion()
The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`.
.google.protobuf.UInt32Value config_version = 20;hasConfigVersion in interface ServiceOrBuilderpublic UInt32Value getConfigVersion()
The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`.
.google.protobuf.UInt32Value config_version = 20;getConfigVersion in interface ServiceOrBuilderpublic UInt32ValueOrBuilder getConfigVersionOrBuilder()
The semantic version of the service configuration. The config version affects the interpretation of the service configuration. For example, certain features are enabled by default for certain config versions. The latest config version is `3`.
.google.protobuf.UInt32Value config_version = 20;getConfigVersionOrBuilder in interface ServiceOrBuilderpublic java.lang.String 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;getName in interface ServiceOrBuilderpublic 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;getNameBytes in interface ServiceOrBuilderpublic java.lang.String getId()
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead. Must be no longer than 60 characters.
string id = 33;getId in interface ServiceOrBuilderpublic ByteString getIdBytes()
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead. Must be no longer than 60 characters.
string id = 33;getIdBytes in interface ServiceOrBuilderpublic java.lang.String getTitle()
The product title for this service.
string title = 2;getTitle in interface ServiceOrBuilderpublic ByteString getTitleBytes()
The product title for this service.
string title = 2;getTitleBytes in interface ServiceOrBuilderpublic java.lang.String getProducerProjectId()
The Google project that owns this service.
string producer_project_id = 22;getProducerProjectId in interface ServiceOrBuilderpublic ByteString getProducerProjectIdBytes()
The Google project that owns this service.
string producer_project_id = 22;getProducerProjectIdBytes in interface ServiceOrBuilderpublic java.util.List<Api> 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;getApisList in interface ServiceOrBuilderpublic java.util.List<? extends ApiOrBuilder> 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;getApisOrBuilderList in interface ServiceOrBuilderpublic 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;getApisCount in interface ServiceOrBuilderpublic 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;getApis in interface ServiceOrBuilderpublic 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;getApisOrBuilder in interface ServiceOrBuilderpublic java.util.List<Type> 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. Example:
types:
- name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;getTypesList in interface ServiceOrBuilderpublic java.util.List<? extends TypeOrBuilder> 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. Example:
types:
- name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;getTypesOrBuilderList in interface ServiceOrBuilderpublic 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. Example:
types:
- name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;getTypesCount in interface ServiceOrBuilderpublic 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. Example:
types:
- name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;getTypes in interface ServiceOrBuilderpublic 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. Example:
types:
- name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;getTypesOrBuilder in interface ServiceOrBuilderpublic java.util.List<Enum> 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. Example:
enums:
- name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;getEnumsList in interface ServiceOrBuilderpublic java.util.List<? extends EnumOrBuilder> 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. Example:
enums:
- name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;getEnumsOrBuilderList in interface ServiceOrBuilderpublic 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. Example:
enums:
- name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;getEnumsCount in interface ServiceOrBuilderpublic 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. Example:
enums:
- name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;getEnums in interface ServiceOrBuilderpublic 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. Example:
enums:
- name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;getEnumsOrBuilder in interface ServiceOrBuilderpublic boolean hasDocumentation()
Additional API documentation.
.google.api.Documentation documentation = 6;hasDocumentation in interface ServiceOrBuilderpublic Documentation getDocumentation()
Additional API documentation.
.google.api.Documentation documentation = 6;getDocumentation in interface ServiceOrBuilderpublic DocumentationOrBuilder getDocumentationOrBuilder()
Additional API documentation.
.google.api.Documentation documentation = 6;getDocumentationOrBuilder in interface ServiceOrBuilderpublic boolean hasBackend()
API backend configuration.
.google.api.Backend backend = 8;hasBackend in interface ServiceOrBuilderpublic Backend getBackend()
API backend configuration.
.google.api.Backend backend = 8;getBackend in interface ServiceOrBuilderpublic BackendOrBuilder getBackendOrBuilder()
API backend configuration.
.google.api.Backend backend = 8;getBackendOrBuilder in interface ServiceOrBuilderpublic boolean hasHttp()
HTTP configuration.
.google.api.Http http = 9;hasHttp in interface ServiceOrBuilderpublic Http getHttp()
HTTP configuration.
.google.api.Http http = 9;getHttp in interface ServiceOrBuilderpublic HttpOrBuilder getHttpOrBuilder()
HTTP configuration.
.google.api.Http http = 9;getHttpOrBuilder in interface ServiceOrBuilderpublic boolean hasQuota()
Quota configuration.
.google.api.Quota quota = 10;hasQuota in interface ServiceOrBuilderpublic Quota getQuota()
Quota configuration.
.google.api.Quota quota = 10;getQuota in interface ServiceOrBuilderpublic QuotaOrBuilder getQuotaOrBuilder()
Quota configuration.
.google.api.Quota quota = 10;getQuotaOrBuilder in interface ServiceOrBuilderpublic boolean hasAuthentication()
Auth configuration.
.google.api.Authentication authentication = 11;hasAuthentication in interface ServiceOrBuilderpublic Authentication getAuthentication()
Auth configuration.
.google.api.Authentication authentication = 11;getAuthentication in interface ServiceOrBuilderpublic AuthenticationOrBuilder getAuthenticationOrBuilder()
Auth configuration.
.google.api.Authentication authentication = 11;getAuthenticationOrBuilder in interface ServiceOrBuilderpublic boolean hasContext()
Context configuration.
.google.api.Context context = 12;hasContext in interface ServiceOrBuilderpublic Context getContext()
Context configuration.
.google.api.Context context = 12;getContext in interface ServiceOrBuilderpublic ContextOrBuilder getContextOrBuilder()
Context configuration.
.google.api.Context context = 12;getContextOrBuilder in interface ServiceOrBuilderpublic boolean hasUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;hasUsage in interface ServiceOrBuilderpublic Usage getUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;getUsage in interface ServiceOrBuilderpublic UsageOrBuilder getUsageOrBuilder()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;getUsageOrBuilder in interface ServiceOrBuilderpublic java.util.List<Endpoint> 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;getEndpointsList in interface ServiceOrBuilderpublic java.util.List<? extends EndpointOrBuilder> 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;getEndpointsOrBuilderList in interface ServiceOrBuilderpublic 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;getEndpointsCount in interface ServiceOrBuilderpublic Endpoint getEndpoints(int index)
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;getEndpoints in interface ServiceOrBuilderpublic EndpointOrBuilder getEndpointsOrBuilder(int index)
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;getEndpointsOrBuilder in interface ServiceOrBuilderpublic boolean hasControl()
Configuration for the service control plane.
.google.api.Control control = 21;hasControl in interface ServiceOrBuilderpublic Control getControl()
Configuration for the service control plane.
.google.api.Control control = 21;getControl in interface ServiceOrBuilderpublic ControlOrBuilder getControlOrBuilder()
Configuration for the service control plane.
.google.api.Control control = 21;getControlOrBuilder in interface ServiceOrBuilderpublic java.util.List<LogDescriptor> getLogsList()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;getLogsList in interface ServiceOrBuilderpublic java.util.List<? extends LogDescriptorOrBuilder> getLogsOrBuilderList()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;getLogsOrBuilderList in interface ServiceOrBuilderpublic int getLogsCount()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;getLogsCount in interface ServiceOrBuilderpublic LogDescriptor getLogs(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;getLogs in interface ServiceOrBuilderpublic LogDescriptorOrBuilder getLogsOrBuilder(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;getLogsOrBuilder in interface ServiceOrBuilderpublic java.util.List<MetricDescriptor> getMetricsList()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;getMetricsList in interface ServiceOrBuilderpublic java.util.List<? extends MetricDescriptorOrBuilder> getMetricsOrBuilderList()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;getMetricsOrBuilderList in interface ServiceOrBuilderpublic int getMetricsCount()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;getMetricsCount in interface ServiceOrBuilderpublic MetricDescriptor getMetrics(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;getMetrics in interface ServiceOrBuilderpublic MetricDescriptorOrBuilder getMetricsOrBuilder(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;getMetricsOrBuilder in interface ServiceOrBuilderpublic java.util.List<MonitoredResourceDescriptor> 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;getMonitoredResourcesList in interface ServiceOrBuilderpublic java.util.List<? extends MonitoredResourceDescriptorOrBuilder> 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;getMonitoredResourcesOrBuilderList in interface ServiceOrBuilderpublic 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;getMonitoredResourcesCount in interface ServiceOrBuilderpublic MonitoredResourceDescriptor getMonitoredResources(int index)
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;getMonitoredResources in interface ServiceOrBuilderpublic MonitoredResourceDescriptorOrBuilder getMonitoredResourcesOrBuilder(int index)
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;getMonitoredResourcesOrBuilder in interface ServiceOrBuilderpublic boolean hasBilling()
Billing configuration.
.google.api.Billing billing = 26;hasBilling in interface ServiceOrBuilderpublic Billing getBilling()
Billing configuration.
.google.api.Billing billing = 26;getBilling in interface ServiceOrBuilderpublic BillingOrBuilder getBillingOrBuilder()
Billing configuration.
.google.api.Billing billing = 26;getBillingOrBuilder in interface ServiceOrBuilderpublic boolean hasLogging()
Logging configuration.
.google.api.Logging logging = 27;hasLogging in interface ServiceOrBuilderpublic Logging getLogging()
Logging configuration.
.google.api.Logging logging = 27;getLogging in interface ServiceOrBuilderpublic LoggingOrBuilder getLoggingOrBuilder()
Logging configuration.
.google.api.Logging logging = 27;getLoggingOrBuilder in interface ServiceOrBuilderpublic boolean hasMonitoring()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;hasMonitoring in interface ServiceOrBuilderpublic Monitoring getMonitoring()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;getMonitoring in interface ServiceOrBuilderpublic MonitoringOrBuilder getMonitoringOrBuilder()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;getMonitoringOrBuilder in interface ServiceOrBuilderpublic boolean hasSystemParameters()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;hasSystemParameters in interface ServiceOrBuilderpublic SystemParameters getSystemParameters()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;getSystemParameters in interface ServiceOrBuilderpublic SystemParametersOrBuilder getSystemParametersOrBuilder()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;getSystemParametersOrBuilder in interface ServiceOrBuilderpublic boolean hasSourceInfo()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;hasSourceInfo in interface ServiceOrBuilderpublic SourceInfo getSourceInfo()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;getSourceInfo in interface ServiceOrBuilderpublic SourceInfoOrBuilder getSourceInfoOrBuilder()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;getSourceInfoOrBuilder in interface ServiceOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Service parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Service parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Service parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Service parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Service parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Service parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Service parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Service parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Service parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Service parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Service parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Service parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Service.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Service.Builder newBuilder()
public static Service.Builder newBuilder(Service prototype)
public Service.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Service.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Service getDefaultInstance()
public Parser<Service> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Service getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder