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_authProtobuf 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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public java.lang.String getTitle()
The product title for this service.
string title = 2;
getTitle
in interface ServiceOrBuilder
public ByteString getTitleBytes()
The product title for this service.
string title = 2;
getTitleBytes
in interface ServiceOrBuilder
public java.lang.String getProducerProjectId()
The Google project that owns this service.
string producer_project_id = 22;
getProducerProjectId
in interface ServiceOrBuilder
public ByteString getProducerProjectIdBytes()
The Google project that owns this service.
string producer_project_id = 22;
getProducerProjectIdBytes
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
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;
getApisCount
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
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. Example: types: - name: google.protobuf.Int32
repeated .google.protobuf.Type types = 4;
getTypesCount
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
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. Example: enums: - name: google.someapi.v1.SomeEnum
repeated .google.protobuf.Enum enums = 5;
getEnumsCount
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public boolean hasDocumentation()
Additional API documentation.
.google.api.Documentation documentation = 6;
hasDocumentation
in interface ServiceOrBuilder
public Documentation getDocumentation()
Additional API documentation.
.google.api.Documentation documentation = 6;
getDocumentation
in interface ServiceOrBuilder
public DocumentationOrBuilder getDocumentationOrBuilder()
Additional API documentation.
.google.api.Documentation documentation = 6;
getDocumentationOrBuilder
in interface ServiceOrBuilder
public boolean hasBackend()
API backend configuration.
.google.api.Backend backend = 8;
hasBackend
in interface ServiceOrBuilder
public Backend getBackend()
API backend configuration.
.google.api.Backend backend = 8;
getBackend
in interface ServiceOrBuilder
public BackendOrBuilder getBackendOrBuilder()
API backend configuration.
.google.api.Backend backend = 8;
getBackendOrBuilder
in interface ServiceOrBuilder
public boolean hasHttp()
HTTP configuration.
.google.api.Http http = 9;
hasHttp
in interface ServiceOrBuilder
public Http getHttp()
HTTP configuration.
.google.api.Http http = 9;
getHttp
in interface ServiceOrBuilder
public HttpOrBuilder getHttpOrBuilder()
HTTP configuration.
.google.api.Http http = 9;
getHttpOrBuilder
in interface ServiceOrBuilder
public boolean hasQuota()
Quota configuration.
.google.api.Quota quota = 10;
hasQuota
in interface ServiceOrBuilder
public Quota getQuota()
Quota configuration.
.google.api.Quota quota = 10;
getQuota
in interface ServiceOrBuilder
public QuotaOrBuilder getQuotaOrBuilder()
Quota configuration.
.google.api.Quota quota = 10;
getQuotaOrBuilder
in interface ServiceOrBuilder
public boolean hasAuthentication()
Auth configuration.
.google.api.Authentication authentication = 11;
hasAuthentication
in interface ServiceOrBuilder
public Authentication getAuthentication()
Auth configuration.
.google.api.Authentication authentication = 11;
getAuthentication
in interface ServiceOrBuilder
public AuthenticationOrBuilder getAuthenticationOrBuilder()
Auth configuration.
.google.api.Authentication authentication = 11;
getAuthenticationOrBuilder
in interface ServiceOrBuilder
public boolean hasContext()
Context configuration.
.google.api.Context context = 12;
hasContext
in interface ServiceOrBuilder
public Context getContext()
Context configuration.
.google.api.Context context = 12;
getContext
in interface ServiceOrBuilder
public ContextOrBuilder getContextOrBuilder()
Context configuration.
.google.api.Context context = 12;
getContextOrBuilder
in interface ServiceOrBuilder
public boolean hasUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
hasUsage
in interface ServiceOrBuilder
public Usage getUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
getUsage
in interface ServiceOrBuilder
public UsageOrBuilder getUsageOrBuilder()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
getUsageOrBuilder
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
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;
getEndpointsCount
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public boolean hasControl()
Configuration for the service control plane.
.google.api.Control control = 21;
hasControl
in interface ServiceOrBuilder
public Control getControl()
Configuration for the service control plane.
.google.api.Control control = 21;
getControl
in interface ServiceOrBuilder
public ControlOrBuilder getControlOrBuilder()
Configuration for the service control plane.
.google.api.Control control = 21;
getControlOrBuilder
in interface ServiceOrBuilder
public java.util.List<LogDescriptor> getLogsList()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
getLogsList
in interface ServiceOrBuilder
public java.util.List<? extends LogDescriptorOrBuilder> getLogsOrBuilderList()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
getLogsOrBuilderList
in interface ServiceOrBuilder
public int getLogsCount()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
getLogsCount
in interface ServiceOrBuilder
public LogDescriptor getLogs(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
getLogs
in interface ServiceOrBuilder
public LogDescriptorOrBuilder getLogsOrBuilder(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
getLogsOrBuilder
in interface ServiceOrBuilder
public java.util.List<MetricDescriptor> getMetricsList()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
getMetricsList
in interface ServiceOrBuilder
public java.util.List<? extends MetricDescriptorOrBuilder> getMetricsOrBuilderList()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
getMetricsOrBuilderList
in interface ServiceOrBuilder
public int getMetricsCount()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
getMetricsCount
in interface ServiceOrBuilder
public MetricDescriptor getMetrics(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
getMetrics
in interface ServiceOrBuilder
public MetricDescriptorOrBuilder getMetricsOrBuilder(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
getMetricsOrBuilder
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
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;
getMonitoredResourcesCount
in interface ServiceOrBuilder
public 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 ServiceOrBuilder
public 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 ServiceOrBuilder
public boolean hasBilling()
Billing configuration.
.google.api.Billing billing = 26;
hasBilling
in interface ServiceOrBuilder
public Billing getBilling()
Billing configuration.
.google.api.Billing billing = 26;
getBilling
in interface ServiceOrBuilder
public BillingOrBuilder getBillingOrBuilder()
Billing configuration.
.google.api.Billing billing = 26;
getBillingOrBuilder
in interface ServiceOrBuilder
public boolean hasLogging()
Logging configuration.
.google.api.Logging logging = 27;
hasLogging
in interface ServiceOrBuilder
public Logging getLogging()
Logging configuration.
.google.api.Logging logging = 27;
getLogging
in interface ServiceOrBuilder
public LoggingOrBuilder getLoggingOrBuilder()
Logging configuration.
.google.api.Logging logging = 27;
getLoggingOrBuilder
in interface ServiceOrBuilder
public boolean hasMonitoring()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
hasMonitoring
in interface ServiceOrBuilder
public Monitoring getMonitoring()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
getMonitoring
in interface ServiceOrBuilder
public MonitoringOrBuilder getMonitoringOrBuilder()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
getMonitoringOrBuilder
in interface ServiceOrBuilder
public boolean hasSystemParameters()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
hasSystemParameters
in interface ServiceOrBuilder
public SystemParameters getSystemParameters()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
getSystemParameters
in interface ServiceOrBuilder
public SystemParametersOrBuilder getSystemParametersOrBuilder()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
getSystemParametersOrBuilder
in interface ServiceOrBuilder
public boolean hasSourceInfo()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
hasSourceInfo
in interface ServiceOrBuilder
public SourceInfo getSourceInfo()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
getSourceInfo
in interface ServiceOrBuilder
public SourceInfoOrBuilder getSourceInfoOrBuilder()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
getSourceInfoOrBuilder
in interface ServiceOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Service parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Service parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Service parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Service parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Service parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Service parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Service parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Service parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Service parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Service parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Service parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Service parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Service.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Service.Builder newBuilder()
public static Service.Builder newBuilder(Service prototype)
public Service.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Service.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Service getDefaultInstance()
public Parser<Service> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Service getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder