Class Service (2.24.0)

public final class Service extends 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_auth

Protobuf type google.api.Service

Implements

ServiceOrBuilder

Static Fields

APIS_FIELD_NUMBER

public static final int APIS_FIELD_NUMBER
Field Value
TypeDescription
int

AUTHENTICATION_FIELD_NUMBER

public static final int AUTHENTICATION_FIELD_NUMBER
Field Value
TypeDescription
int

BACKEND_FIELD_NUMBER

public static final int BACKEND_FIELD_NUMBER
Field Value
TypeDescription
int

BILLING_FIELD_NUMBER

public static final int BILLING_FIELD_NUMBER
Field Value
TypeDescription
int

CONFIG_VERSION_FIELD_NUMBER

public static final int CONFIG_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

CONTEXT_FIELD_NUMBER

public static final int CONTEXT_FIELD_NUMBER
Field Value
TypeDescription
int

CONTROL_FIELD_NUMBER

public static final int CONTROL_FIELD_NUMBER
Field Value
TypeDescription
int

DOCUMENTATION_FIELD_NUMBER

public static final int DOCUMENTATION_FIELD_NUMBER
Field Value
TypeDescription
int

ENDPOINTS_FIELD_NUMBER

public static final int ENDPOINTS_FIELD_NUMBER
Field Value
TypeDescription
int

ENUMS_FIELD_NUMBER

public static final int ENUMS_FIELD_NUMBER
Field Value
TypeDescription
int

HTTP_FIELD_NUMBER

public static final int HTTP_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

LOGGING_FIELD_NUMBER

public static final int LOGGING_FIELD_NUMBER
Field Value
TypeDescription
int

LOGS_FIELD_NUMBER

public static final int LOGS_FIELD_NUMBER
Field Value
TypeDescription
int

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

MONITORED_RESOURCES_FIELD_NUMBER

public static final int MONITORED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

MONITORING_FIELD_NUMBER

public static final int MONITORING_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCER_PROJECT_ID_FIELD_NUMBER

public static final int PRODUCER_PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLISHING_FIELD_NUMBER

public static final int PUBLISHING_FIELD_NUMBER
Field Value
TypeDescription
int

QUOTA_FIELD_NUMBER

public static final int QUOTA_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_INFO_FIELD_NUMBER

public static final int SOURCE_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

SYSTEM_PARAMETERS_FIELD_NUMBER

public static final int SYSTEM_PARAMETERS_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
TypeDescription
int

TYPES_FIELD_NUMBER

public static final int TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

USAGE_FIELD_NUMBER

public static final int USAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Service getDefaultInstance()
Returns
TypeDescription
Service

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Service.Builder newBuilder()
Returns
TypeDescription
Service.Builder

newBuilder(Service prototype)

public static Service.Builder newBuilder(Service prototype)
Parameter
NameDescription
prototypeService
Returns
TypeDescription
Service.Builder

parseDelimitedFrom(InputStream input)

public static Service parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Service
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Service parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Service parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Service
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Service parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Service parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Service
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Service parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Service parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Service
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Service parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Service parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Service
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Service parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Service parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Service
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Service parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Service
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Service> parser()
Returns
TypeDescription
Parser<Service>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApis(int index)

public Api getApis(int index)

A list of API interfaces exported by this service. Only the name field of the 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Api

getApisCount()

public int getApisCount()

A list of API interfaces exported by this service. Only the name field of the 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;

Returns
TypeDescription
int

getApisList()

public List<Api> getApisList()

A list of API interfaces exported by this service. Only the name field of the 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;

Returns
TypeDescription
List<Api>

getApisOrBuilder(int index)

public ApiOrBuilder getApisOrBuilder(int index)

A list of API interfaces exported by this service. Only the name field of the 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiOrBuilder

getApisOrBuilderList()

public List<? extends ApiOrBuilder> getApisOrBuilderList()

A list of API interfaces exported by this service. Only the name field of the 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;

Returns
TypeDescription
List<? extends com.google.protobuf.ApiOrBuilder>

getAuthentication()

public Authentication getAuthentication()

Auth configuration.

.google.api.Authentication authentication = 11;

Returns
TypeDescription
Authentication

The authentication.

getAuthenticationOrBuilder()

public AuthenticationOrBuilder getAuthenticationOrBuilder()

Auth configuration.

.google.api.Authentication authentication = 11;

Returns
TypeDescription
AuthenticationOrBuilder

getBackend()

public Backend getBackend()

API backend configuration.

.google.api.Backend backend = 8;

Returns
TypeDescription
Backend

The backend.

getBackendOrBuilder()

public BackendOrBuilder getBackendOrBuilder()

API backend configuration.

.google.api.Backend backend = 8;

Returns
TypeDescription
BackendOrBuilder

getBilling()

public Billing getBilling()

Billing configuration.

.google.api.Billing billing = 26;

Returns
TypeDescription
Billing

The billing.

getBillingOrBuilder()

public BillingOrBuilder getBillingOrBuilder()

Billing configuration.

.google.api.Billing billing = 26;

Returns
TypeDescription
BillingOrBuilder

getConfigVersion()

public 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;

Returns
TypeDescription
UInt32Value

The configVersion.

getConfigVersionOrBuilder()

public 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;

Returns
TypeDescription
UInt32ValueOrBuilder

getContext()

public Context getContext()

Context configuration.

.google.api.Context context = 12;

Returns
TypeDescription
Context

The context.

getContextOrBuilder()

public ContextOrBuilder getContextOrBuilder()

Context configuration.

.google.api.Context context = 12;

Returns
TypeDescription
ContextOrBuilder

getControl()

public Control getControl()

Configuration for the service control plane.

.google.api.Control control = 21;

Returns
TypeDescription
Control

The control.

getControlOrBuilder()

public ControlOrBuilder getControlOrBuilder()

Configuration for the service control plane.

.google.api.Control control = 21;

Returns
TypeDescription
ControlOrBuilder

getDefaultInstanceForType()

public Service getDefaultInstanceForType()
Returns
TypeDescription
Service

getDocumentation()

public Documentation getDocumentation()

Additional API documentation.

.google.api.Documentation documentation = 6;

Returns
TypeDescription
Documentation

The documentation.

getDocumentationOrBuilder()

public DocumentationOrBuilder getDocumentationOrBuilder()

Additional API documentation.

.google.api.Documentation documentation = 6;

Returns
TypeDescription
DocumentationOrBuilder

getEndpoints(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Endpoint

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;

Returns
TypeDescription
int

getEndpointsList()

public 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;

Returns
TypeDescription
List<Endpoint>

getEndpointsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
EndpointOrBuilder

getEndpointsOrBuilderList()

public 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;

Returns
TypeDescription
List<? extends com.google.api.EndpointOrBuilder>

getEnums(int index)

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 by the configuration author. Example:

 enums:
 - name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Enum

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;

Returns
TypeDescription
int

getEnumsList()

public 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 by the configuration author. Example:

 enums:
 - name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Returns
TypeDescription
List<Enum>

getEnumsOrBuilder(int index)

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 by the configuration author. Example:

 enums:
 - name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
EnumOrBuilder

getEnumsOrBuilderList()

public 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 by the configuration author. Example:

 enums:
 - name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Returns
TypeDescription
List<? extends com.google.protobuf.EnumOrBuilder>

getHttp()

public Http getHttp()

HTTP configuration.

.google.api.Http http = 9;

Returns
TypeDescription
Http

The http.

getHttpOrBuilder()

public HttpOrBuilder getHttpOrBuilder()

HTTP configuration.

.google.api.Http http = 9;

Returns
TypeDescription
HttpOrBuilder

getId()

public String 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;

Returns
TypeDescription
String

The id.

getIdBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for id.

getLogging()

public Logging getLogging()

Logging configuration.

.google.api.Logging logging = 27;

Returns
TypeDescription
Logging

The logging.

getLoggingOrBuilder()

public LoggingOrBuilder getLoggingOrBuilder()

Logging configuration.

.google.api.Logging logging = 27;

Returns
TypeDescription
LoggingOrBuilder

getLogs(int index)

public LogDescriptor getLogs(int index)

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogDescriptor

getLogsCount()

public int getLogsCount()

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Returns
TypeDescription
int

getLogsList()

public List<LogDescriptor> getLogsList()

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Returns
TypeDescription
List<LogDescriptor>

getLogsOrBuilder(int index)

public LogDescriptorOrBuilder getLogsOrBuilder(int index)

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogDescriptorOrBuilder

getLogsOrBuilderList()

public List<? extends LogDescriptorOrBuilder> getLogsOrBuilderList()

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Returns
TypeDescription
List<? extends com.google.api.LogDescriptorOrBuilder>

getMetrics(int index)

public MetricDescriptor getMetrics(int index)

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricDescriptor

getMetricsCount()

public int getMetricsCount()

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Returns
TypeDescription
int

getMetricsList()

public List<MetricDescriptor> getMetricsList()

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Returns
TypeDescription
List<MetricDescriptor>

getMetricsOrBuilder(int index)

public MetricDescriptorOrBuilder getMetricsOrBuilder(int index)

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricDescriptorOrBuilder

getMetricsOrBuilderList()

public List<? extends MetricDescriptorOrBuilder> getMetricsOrBuilderList()

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Returns
TypeDescription
List<? extends com.google.api.MetricDescriptorOrBuilder>

getMonitoredResources(int index)

public MonitoredResourceDescriptor getMonitoredResources(int index)

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
NameDescription
indexint
Returns
TypeDescription
MonitoredResourceDescriptor

getMonitoredResourcesCount()

public int getMonitoredResourcesCount()

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
TypeDescription
int

getMonitoredResourcesList()

public List<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
TypeDescription
List<MonitoredResourceDescriptor>

getMonitoredResourcesOrBuilder(int index)

public MonitoredResourceDescriptorOrBuilder getMonitoredResourcesOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
MonitoredResourceDescriptorOrBuilder

getMonitoredResourcesOrBuilderList()

public List<? extends MonitoredResourceDescriptorOrBuilder> 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
TypeDescription
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder>

getMonitoring()

public Monitoring getMonitoring()

Monitoring configuration.

.google.api.Monitoring monitoring = 28;

Returns
TypeDescription
Monitoring

The monitoring.

getMonitoringOrBuilder()

public MonitoringOrBuilder getMonitoringOrBuilder()

Monitoring configuration.

.google.api.Monitoring monitoring = 28;

Returns
TypeDescription
MonitoringOrBuilder

getName()

public 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;

Returns
TypeDescription
String

The name.

getNameBytes()

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;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Service> getParserForType()
Returns
TypeDescription
Parser<Service>
Overrides

getProducerProjectId()

public String getProducerProjectId()

The Google project that owns this service.

string producer_project_id = 22;

Returns
TypeDescription
String

The producerProjectId.

getProducerProjectIdBytes()

public ByteString getProducerProjectIdBytes()

The Google project that owns this service.

string producer_project_id = 22;

Returns
TypeDescription
ByteString

The bytes for producerProjectId.

getPublishing()

public Publishing getPublishing()

Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.

.google.api.Publishing publishing = 45;

Returns
TypeDescription
Publishing

The publishing.

getPublishingOrBuilder()

public PublishingOrBuilder getPublishingOrBuilder()

Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.

.google.api.Publishing publishing = 45;

Returns
TypeDescription
PublishingOrBuilder

getQuota()

public Quota getQuota()

Quota configuration.

.google.api.Quota quota = 10;

Returns
TypeDescription
Quota

The quota.

getQuotaOrBuilder()

public QuotaOrBuilder getQuotaOrBuilder()

Quota configuration.

.google.api.Quota quota = 10;

Returns
TypeDescription
QuotaOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceInfo()

public SourceInfo getSourceInfo()

Output only. The source information for this configuration if available.

.google.api.SourceInfo source_info = 37;

Returns
TypeDescription
SourceInfo

The sourceInfo.

getSourceInfoOrBuilder()

public SourceInfoOrBuilder getSourceInfoOrBuilder()

Output only. The source information for this configuration if available.

.google.api.SourceInfo source_info = 37;

Returns
TypeDescription
SourceInfoOrBuilder

getSystemParameters()

public SystemParameters getSystemParameters()

System parameter configuration.

.google.api.SystemParameters system_parameters = 29;

Returns
TypeDescription
SystemParameters

The systemParameters.

getSystemParametersOrBuilder()

public SystemParametersOrBuilder getSystemParametersOrBuilder()

System parameter configuration.

.google.api.SystemParameters system_parameters = 29;

Returns
TypeDescription
SystemParametersOrBuilder

getTitle()

public String getTitle()

The product title for this service, it is the name displayed in Google Cloud Console.

string title = 2;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The product title for this service, it is the name displayed in Google Cloud Console.

string title = 2;

Returns
TypeDescription
ByteString

The bytes for title.

getTypes(int index)

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 by the configuration author. Example:

 types:
 - name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Type

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;

Returns
TypeDescription
int

getTypesList()

public 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 by the configuration author. Example:

 types:
 - name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Returns
TypeDescription
List<Type>

getTypesOrBuilder(int index)

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 by the configuration author. Example:

 types:
 - name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
TypeOrBuilder

getTypesOrBuilderList()

public 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 by the configuration author. Example:

 types:
 - name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Returns
TypeDescription
List<? extends com.google.protobuf.TypeOrBuilder>

getUsage()

public Usage getUsage()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
TypeDescription
Usage

The usage.

getUsageOrBuilder()

public UsageOrBuilder getUsageOrBuilder()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
TypeDescription
UsageOrBuilder

hasAuthentication()

public boolean hasAuthentication()

Auth configuration.

.google.api.Authentication authentication = 11;

Returns
TypeDescription
boolean

Whether the authentication field is set.

hasBackend()

public boolean hasBackend()

API backend configuration.

.google.api.Backend backend = 8;

Returns
TypeDescription
boolean

Whether the backend field is set.

hasBilling()

public boolean hasBilling()

Billing configuration.

.google.api.Billing billing = 26;

Returns
TypeDescription
boolean

Whether the billing field is set.

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;

Returns
TypeDescription
boolean

Whether the configVersion field is set.

hasContext()

public boolean hasContext()

Context configuration.

.google.api.Context context = 12;

Returns
TypeDescription
boolean

Whether the context field is set.

hasControl()

public boolean hasControl()

Configuration for the service control plane.

.google.api.Control control = 21;

Returns
TypeDescription
boolean

Whether the control field is set.

hasDocumentation()

public boolean hasDocumentation()

Additional API documentation.

.google.api.Documentation documentation = 6;

Returns
TypeDescription
boolean

Whether the documentation field is set.

hasHttp()

public boolean hasHttp()

HTTP configuration.

.google.api.Http http = 9;

Returns
TypeDescription
boolean

Whether the http field is set.

hasLogging()

public boolean hasLogging()

Logging configuration.

.google.api.Logging logging = 27;

Returns
TypeDescription
boolean

Whether the logging field is set.

hasMonitoring()

public boolean hasMonitoring()

Monitoring configuration.

.google.api.Monitoring monitoring = 28;

Returns
TypeDescription
boolean

Whether the monitoring field is set.

hasPublishing()

public boolean hasPublishing()

Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.

.google.api.Publishing publishing = 45;

Returns
TypeDescription
boolean

Whether the publishing field is set.

hasQuota()

public boolean hasQuota()

Quota configuration.

.google.api.Quota quota = 10;

Returns
TypeDescription
boolean

Whether the quota field is set.

hasSourceInfo()

public boolean hasSourceInfo()

Output only. The source information for this configuration if available.

.google.api.SourceInfo source_info = 37;

Returns
TypeDescription
boolean

Whether the sourceInfo field is set.

hasSystemParameters()

public boolean hasSystemParameters()

System parameter configuration.

.google.api.SystemParameters system_parameters = 29;

Returns
TypeDescription
boolean

Whether the systemParameters field is set.

hasUsage()

public boolean hasUsage()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
TypeDescription
boolean

Whether the usage field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Service.Builder newBuilderForType()
Returns
TypeDescription
Service.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Service.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Service.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Service.Builder toBuilder()
Returns
TypeDescription
Service.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException