Interface ServiceConfigOrBuilder (2.63.0)

publicinterface ServiceConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getApis(int index)

publicabstractApigetApis(intindex)

A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.

repeated .google.protobuf.Api apis = 3;

Parameter
Name Description
index int
Returns
Type Description
Api

getApisCount()

publicabstractintgetApisCount()

A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.

repeated .google.protobuf.Api apis = 3;

Returns
Type Description
int

getApisList()

publicabstractList<Api>getApisList()

A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.

repeated .google.protobuf.Api apis = 3;

Returns
Type Description
List<Api>

getApisOrBuilder(int index)

publicabstractApiOrBuildergetApisOrBuilder(intindex)

A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.

repeated .google.protobuf.Api apis = 3;

Parameter
Name Description
index int
Returns
Type Description
ApiOrBuilder

getApisOrBuilderList()

publicabstractList<?extendsApiOrBuilder>getApisOrBuilderList()

A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.

repeated .google.protobuf.Api apis = 3;

Returns
Type Description
List<? extends com.google.protobuf.ApiOrBuilder>

getAuthentication()

publicabstractAuthenticationgetAuthentication()

Auth configuration. Contains only the OAuth rules.

.google.api.Authentication authentication = 11;

Returns
Type Description
com.google.api.Authentication

The authentication.

getAuthenticationOrBuilder()

publicabstractAuthenticationOrBuildergetAuthenticationOrBuilder()

Auth configuration. Contains only the OAuth rules.

.google.api.Authentication authentication = 11;

Returns
Type Description
com.google.api.AuthenticationOrBuilder

getDocumentation()

publicabstractDocumentationgetDocumentation()

Additional API documentation. Contains only the summary and the documentation URL.

.google.api.Documentation documentation = 6;

Returns
Type Description
com.google.api.Documentation

The documentation.

getDocumentationOrBuilder()

publicabstractDocumentationOrBuildergetDocumentationOrBuilder()

Additional API documentation. Contains only the summary and the documentation URL.

.google.api.Documentation documentation = 6;

Returns
Type Description
com.google.api.DocumentationOrBuilder

getEndpoints(int index)

publicabstractEndpointgetEndpoints(intindex)

Configuration for network endpoints. Contains only the names and aliases of the endpoints.

repeated .google.api.Endpoint endpoints = 18;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.Endpoint

getEndpointsCount()

publicabstractintgetEndpointsCount()

Configuration for network endpoints. Contains only the names and aliases of the endpoints.

repeated .google.api.Endpoint endpoints = 18;

Returns
Type Description
int

getEndpointsList()

publicabstractList<Endpoint>getEndpointsList()

Configuration for network endpoints. Contains only the names and aliases of the endpoints.

repeated .google.api.Endpoint endpoints = 18;

Returns
Type Description
List<com.google.api.Endpoint>

getEndpointsOrBuilder(int index)

publicabstractEndpointOrBuildergetEndpointsOrBuilder(intindex)

Configuration for network endpoints. Contains only the names and aliases of the endpoints.

repeated .google.api.Endpoint endpoints = 18;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.EndpointOrBuilder

getEndpointsOrBuilderList()

publicabstractList<?extendsEndpointOrBuilder>getEndpointsOrBuilderList()

Configuration for network endpoints. Contains only the names and aliases of the endpoints.

repeated .google.api.Endpoint endpoints = 18;

Returns
Type Description
List<? extends com.google.api.EndpointOrBuilder>

getMonitoredResources(int index)

publicabstractMonitoredResourceDescriptorgetMonitoredResources(intindex)

Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.

repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.MonitoredResourceDescriptor

getMonitoredResourcesCount()

publicabstractintgetMonitoredResourcesCount()

Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.

repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;

Returns
Type Description
int

getMonitoredResourcesList()

publicabstractList<MonitoredResourceDescriptor>getMonitoredResourcesList()

Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.

repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;

Returns
Type Description
List<com.google.api.MonitoredResourceDescriptor>

getMonitoredResourcesOrBuilder(int index)

publicabstractMonitoredResourceDescriptorOrBuildergetMonitoredResourcesOrBuilder(intindex)

Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.

repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.MonitoredResourceDescriptorOrBuilder

getMonitoredResourcesOrBuilderList()

publicabstractList<?extendsMonitoredResourceDescriptorOrBuilder>getMonitoredResourcesOrBuilderList()

Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.

repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;

Returns
Type Description
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder>

getMonitoring()

publicabstractMonitoringgetMonitoring()

Monitoring configuration. This should not include the 'producer_destinations' field.

.google.api.Monitoring monitoring = 28;

Returns
Type Description
com.google.api.Monitoring

The monitoring.

getMonitoringOrBuilder()

publicabstractMonitoringOrBuildergetMonitoringOrBuilder()

Monitoring configuration. This should not include the 'producer_destinations' field.

.google.api.Monitoring monitoring = 28;

Returns
Type Description
com.google.api.MonitoringOrBuilder

getName()

publicabstractStringgetName()

The DNS address at which this service is available.

An example DNS address would be: calendar.googleapis.com.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

The DNS address at which this service is available.

An example DNS address would be: calendar.googleapis.com.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getQuota()

publicabstractQuotagetQuota()

Quota configuration.

.google.api.Quota quota = 10;

Returns
Type Description
com.google.api.Quota

The quota.

getQuotaOrBuilder()

publicabstractQuotaOrBuildergetQuotaOrBuilder()

Quota configuration.

.google.api.Quota quota = 10;

Returns
Type Description
com.google.api.QuotaOrBuilder

getTitle()

publicabstractStringgetTitle()

The product title for this service.

string title = 2;

Returns
Type Description
String

The title.

getTitleBytes()

publicabstractByteStringgetTitleBytes()

The product title for this service.

string title = 2;

Returns
Type Description
ByteString

The bytes for title.

getUsage()

publicabstractUsagegetUsage()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
Type Description
com.google.api.Usage

The usage.

getUsageOrBuilder()

publicabstractUsageOrBuildergetUsageOrBuilder()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
Type Description
com.google.api.UsageOrBuilder

hasAuthentication()

publicabstractbooleanhasAuthentication()

Auth configuration. Contains only the OAuth rules.

.google.api.Authentication authentication = 11;

Returns
Type Description
boolean

Whether the authentication field is set.

hasDocumentation()

publicabstractbooleanhasDocumentation()

Additional API documentation. Contains only the summary and the documentation URL.

.google.api.Documentation documentation = 6;

Returns
Type Description
boolean

Whether the documentation field is set.

hasMonitoring()

publicabstractbooleanhasMonitoring()

Monitoring configuration. This should not include the 'producer_destinations' field.

.google.api.Monitoring monitoring = 28;

Returns
Type Description
boolean

Whether the monitoring field is set.

hasQuota()

publicabstractbooleanhasQuota()

Quota configuration.

.google.api.Quota quota = 10;

Returns
Type Description
boolean

Whether the quota field is set.

hasUsage()

publicabstractbooleanhasUsage()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
Type Description
boolean

Whether the usage field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.