public static final class Service.Builder extends GeneratedMessageV3.Builder<Service.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Service.BuilderImplements
ServiceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllApis(Iterable<? extends Api> values)
public Service.Builder addAllApis(Iterable<? extends Api> values)
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;
Name | Description |
values | Iterable<? extends com.google.protobuf.Api> |
Type | Description |
Service.Builder |
addAllEndpoints(Iterable<? extends Endpoint> values)
public Service.Builder addAllEndpoints(Iterable<? extends Endpoint> values)
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;
Name | Description |
values | Iterable<? extends com.google.api.Endpoint> |
Type | Description |
Service.Builder |
addAllEnums(Iterable<? extends Enum> values)
public Service.Builder addAllEnums(Iterable<? extends Enum> values)
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;
Name | Description |
values | Iterable<? extends com.google.protobuf.Enum> |
Type | Description |
Service.Builder |
addAllLogs(Iterable<? extends LogDescriptor> values)
public Service.Builder addAllLogs(Iterable<? extends LogDescriptor> values)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
values | Iterable<? extends com.google.api.LogDescriptor> |
Type | Description |
Service.Builder |
addAllMetrics(Iterable<? extends MetricDescriptor> values)
public Service.Builder addAllMetrics(Iterable<? extends MetricDescriptor> values)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
values | Iterable<? extends com.google.api.MetricDescriptor> |
Type | Description |
Service.Builder |
addAllMonitoredResources(Iterable<? extends MonitoredResourceDescriptor> values)
public Service.Builder addAllMonitoredResources(Iterable<? extends MonitoredResourceDescriptor> values)
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;
Name | Description |
values | Iterable<? extends com.google.api.MonitoredResourceDescriptor> |
Type | Description |
Service.Builder |
addAllTypes(Iterable<? extends Type> values)
public Service.Builder addAllTypes(Iterable<? extends Type> values)
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;
Name | Description |
values | Iterable<? extends com.google.protobuf.Type> |
Type | Description |
Service.Builder |
addApis(Api value)
public Service.Builder addApis(Api value)
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;
Name | Description |
value | Api |
Type | Description |
Service.Builder |
addApis(Api.Builder builderForValue)
public Service.Builder addApis(Api.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Service.Builder |
addApis(int index, Api value)
public Service.Builder addApis(int index, Api value)
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;
Name | Description |
index | int |
value | Api |
Type | Description |
Service.Builder |
addApis(int index, Api.Builder builderForValue)
public Service.Builder addApis(int index, Api.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
Service.Builder |
addApisBuilder()
public Api.Builder addApisBuilder()
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;
Type | Description |
Builder |
addApisBuilder(int index)
public Api.Builder addApisBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
addEndpoints(Endpoint value)
public Service.Builder addEndpoints(Endpoint value)
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;
Name | Description |
value | Endpoint |
Type | Description |
Service.Builder |
addEndpoints(Endpoint.Builder builderForValue)
public Service.Builder addEndpoints(Endpoint.Builder builderForValue)
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;
Name | Description |
builderForValue | Endpoint.Builder |
Type | Description |
Service.Builder |
addEndpoints(int index, Endpoint value)
public Service.Builder addEndpoints(int index, Endpoint value)
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;
Name | Description |
index | int |
value | Endpoint |
Type | Description |
Service.Builder |
addEndpoints(int index, Endpoint.Builder builderForValue)
public Service.Builder addEndpoints(int index, Endpoint.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Endpoint.Builder |
Type | Description |
Service.Builder |
addEndpointsBuilder()
public Endpoint.Builder addEndpointsBuilder()
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;
Type | Description |
Endpoint.Builder |
addEndpointsBuilder(int index)
public Endpoint.Builder addEndpointsBuilder(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;
Name | Description |
index | int |
Type | Description |
Endpoint.Builder |
addEnums(Enum value)
public Service.Builder addEnums(Enum value)
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;
Name | Description |
value | Enum |
Type | Description |
Service.Builder |
addEnums(Enum.Builder builderForValue)
public Service.Builder addEnums(Enum.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Service.Builder |
addEnums(int index, Enum value)
public Service.Builder addEnums(int index, Enum value)
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;
Name | Description |
index | int |
value | Enum |
Type | Description |
Service.Builder |
addEnums(int index, Enum.Builder builderForValue)
public Service.Builder addEnums(int index, Enum.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
Service.Builder |
addEnumsBuilder()
public Enum.Builder addEnumsBuilder()
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;
Type | Description |
Builder |
addEnumsBuilder(int index)
public Enum.Builder addEnumsBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
addLogs(LogDescriptor value)
public Service.Builder addLogs(LogDescriptor value)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
value | LogDescriptor |
Type | Description |
Service.Builder |
addLogs(LogDescriptor.Builder builderForValue)
public Service.Builder addLogs(LogDescriptor.Builder builderForValue)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
builderForValue | LogDescriptor.Builder |
Type | Description |
Service.Builder |
addLogs(int index, LogDescriptor value)
public Service.Builder addLogs(int index, LogDescriptor value)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
value | LogDescriptor |
Type | Description |
Service.Builder |
addLogs(int index, LogDescriptor.Builder builderForValue)
public Service.Builder addLogs(int index, LogDescriptor.Builder builderForValue)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
builderForValue | LogDescriptor.Builder |
Type | Description |
Service.Builder |
addLogsBuilder()
public LogDescriptor.Builder addLogsBuilder()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Type | Description |
LogDescriptor.Builder |
addLogsBuilder(int index)
public LogDescriptor.Builder addLogsBuilder(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
Type | Description |
LogDescriptor.Builder |
addMetrics(MetricDescriptor value)
public Service.Builder addMetrics(MetricDescriptor value)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
value | MetricDescriptor |
Type | Description |
Service.Builder |
addMetrics(MetricDescriptor.Builder builderForValue)
public Service.Builder addMetrics(MetricDescriptor.Builder builderForValue)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
builderForValue | MetricDescriptor.Builder |
Type | Description |
Service.Builder |
addMetrics(int index, MetricDescriptor value)
public Service.Builder addMetrics(int index, MetricDescriptor value)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
value | MetricDescriptor |
Type | Description |
Service.Builder |
addMetrics(int index, MetricDescriptor.Builder builderForValue)
public Service.Builder addMetrics(int index, MetricDescriptor.Builder builderForValue)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
builderForValue | MetricDescriptor.Builder |
Type | Description |
Service.Builder |
addMetricsBuilder()
public MetricDescriptor.Builder addMetricsBuilder()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Type | Description |
MetricDescriptor.Builder |
addMetricsBuilder(int index)
public MetricDescriptor.Builder addMetricsBuilder(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
Type | Description |
MetricDescriptor.Builder |
addMonitoredResources(MonitoredResourceDescriptor value)
public Service.Builder addMonitoredResources(MonitoredResourceDescriptor value)
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;
Name | Description |
value | MonitoredResourceDescriptor |
Type | Description |
Service.Builder |
addMonitoredResources(MonitoredResourceDescriptor.Builder builderForValue)
public Service.Builder addMonitoredResources(MonitoredResourceDescriptor.Builder builderForValue)
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;
Name | Description |
builderForValue | MonitoredResourceDescriptor.Builder |
Type | Description |
Service.Builder |
addMonitoredResources(int index, MonitoredResourceDescriptor value)
public Service.Builder addMonitoredResources(int index, MonitoredResourceDescriptor value)
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;
Name | Description |
index | int |
value | MonitoredResourceDescriptor |
Type | Description |
Service.Builder |
addMonitoredResources(int index, MonitoredResourceDescriptor.Builder builderForValue)
public Service.Builder addMonitoredResources(int index, MonitoredResourceDescriptor.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | MonitoredResourceDescriptor.Builder |
Type | Description |
Service.Builder |
addMonitoredResourcesBuilder()
public MonitoredResourceDescriptor.Builder addMonitoredResourcesBuilder()
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;
Type | Description |
MonitoredResourceDescriptor.Builder |
addMonitoredResourcesBuilder(int index)
public MonitoredResourceDescriptor.Builder addMonitoredResourcesBuilder(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;
Name | Description |
index | int |
Type | Description |
MonitoredResourceDescriptor.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Service.Builder |
addTypes(Type value)
public Service.Builder addTypes(Type value)
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;
Name | Description |
value | Type |
Type | Description |
Service.Builder |
addTypes(Type.Builder builderForValue)
public Service.Builder addTypes(Type.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Service.Builder |
addTypes(int index, Type value)
public Service.Builder addTypes(int index, Type value)
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;
Name | Description |
index | int |
value | Type |
Type | Description |
Service.Builder |
addTypes(int index, Type.Builder builderForValue)
public Service.Builder addTypes(int index, Type.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
Service.Builder |
addTypesBuilder()
public Type.Builder addTypesBuilder()
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;
Type | Description |
Builder |
addTypesBuilder(int index)
public Type.Builder addTypesBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
build()
public Service build()
Type | Description |
Service |
buildPartial()
public Service buildPartial()
Type | Description |
Service |
clear()
public Service.Builder clear()
Type | Description |
Service.Builder |
clearApis()
public Service.Builder clearApis()
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;
Type | Description |
Service.Builder |
clearAuthentication()
public Service.Builder clearAuthentication()
Auth configuration.
.google.api.Authentication authentication = 11;
Type | Description |
Service.Builder |
clearBackend()
public Service.Builder clearBackend()
API backend configuration.
.google.api.Backend backend = 8;
Type | Description |
Service.Builder |
clearBilling()
public Service.Builder clearBilling()
Billing configuration.
.google.api.Billing billing = 26;
Type | Description |
Service.Builder |
clearConfigVersion()
public Service.Builder clearConfigVersion()
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;
Type | Description |
Service.Builder |
clearContext()
public Service.Builder clearContext()
Context configuration.
.google.api.Context context = 12;
Type | Description |
Service.Builder |
clearControl()
public Service.Builder clearControl()
Configuration for the service control plane.
.google.api.Control control = 21;
Type | Description |
Service.Builder |
clearDocumentation()
public Service.Builder clearDocumentation()
Additional API documentation.
.google.api.Documentation documentation = 6;
Type | Description |
Service.Builder |
clearEndpoints()
public Service.Builder clearEndpoints()
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;
Type | Description |
Service.Builder |
clearEnums()
public Service.Builder clearEnums()
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;
Type | Description |
Service.Builder |
clearField(Descriptors.FieldDescriptor field)
public Service.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Service.Builder |
clearHttp()
public Service.Builder clearHttp()
HTTP configuration.
.google.api.Http http = 9;
Type | Description |
Service.Builder |
clearId()
public Service.Builder clearId()
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;
Type | Description |
Service.Builder | This builder for chaining. |
clearLogging()
public Service.Builder clearLogging()
Logging configuration.
.google.api.Logging logging = 27;
Type | Description |
Service.Builder |
clearLogs()
public Service.Builder clearLogs()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Type | Description |
Service.Builder |
clearMetrics()
public Service.Builder clearMetrics()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Type | Description |
Service.Builder |
clearMonitoredResources()
public Service.Builder clearMonitoredResources()
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;
Type | Description |
Service.Builder |
clearMonitoring()
public Service.Builder clearMonitoring()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Type | Description |
Service.Builder |
clearName()
public Service.Builder clearName()
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;
Type | Description |
Service.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Service.Builder |
clearProducerProjectId()
public Service.Builder clearProducerProjectId()
The Google project that owns this service.
string producer_project_id = 22;
Type | Description |
Service.Builder | This builder for chaining. |
clearPublishing()
public Service.Builder clearPublishing()
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
Type | Description |
Service.Builder |
clearQuota()
public Service.Builder clearQuota()
Quota configuration.
.google.api.Quota quota = 10;
Type | Description |
Service.Builder |
clearSourceInfo()
public Service.Builder clearSourceInfo()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
Type | Description |
Service.Builder |
clearSystemParameters()
public Service.Builder clearSystemParameters()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Type | Description |
Service.Builder |
clearTitle()
public Service.Builder clearTitle()
The product title for this service, it is the name displayed in Google Cloud Console.
string title = 2;
Type | Description |
Service.Builder | This builder for chaining. |
clearTypes()
public Service.Builder clearTypes()
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;
Type | Description |
Service.Builder |
clearUsage()
public Service.Builder clearUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Type | Description |
Service.Builder |
clone()
public Service.Builder clone()
Type | Description |
Service.Builder |
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;
Name | Description |
index | int |
Type | Description |
Api |
getApisBuilder(int index)
public Api.Builder getApisBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
getApisBuilderList()
public List<Api.Builder> getApisBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<? extends com.google.protobuf.ApiOrBuilder> |
getAuthentication()
public Authentication getAuthentication()
Auth configuration.
.google.api.Authentication authentication = 11;
Type | Description |
Authentication | The authentication. |
getAuthenticationBuilder()
public Authentication.Builder getAuthenticationBuilder()
Auth configuration.
.google.api.Authentication authentication = 11;
Type | Description |
Authentication.Builder |
getAuthenticationOrBuilder()
public AuthenticationOrBuilder getAuthenticationOrBuilder()
Auth configuration.
.google.api.Authentication authentication = 11;
Type | Description |
AuthenticationOrBuilder |
getBackend()
public Backend getBackend()
API backend configuration.
.google.api.Backend backend = 8;
Type | Description |
Backend | The backend. |
getBackendBuilder()
public Backend.Builder getBackendBuilder()
API backend configuration.
.google.api.Backend backend = 8;
Type | Description |
Backend.Builder |
getBackendOrBuilder()
public BackendOrBuilder getBackendOrBuilder()
API backend configuration.
.google.api.Backend backend = 8;
Type | Description |
BackendOrBuilder |
getBilling()
public Billing getBilling()
Billing configuration.
.google.api.Billing billing = 26;
Type | Description |
Billing | The billing. |
getBillingBuilder()
public Billing.Builder getBillingBuilder()
Billing configuration.
.google.api.Billing billing = 26;
Type | Description |
Billing.Builder |
getBillingOrBuilder()
public BillingOrBuilder getBillingOrBuilder()
Billing configuration.
.google.api.Billing billing = 26;
Type | Description |
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;
Type | Description |
UInt32Value | The configVersion. |
getConfigVersionBuilder()
public UInt32Value.Builder getConfigVersionBuilder()
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;
Type | Description |
Builder |
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;
Type | Description |
UInt32ValueOrBuilder |
getContext()
public Context getContext()
Context configuration.
.google.api.Context context = 12;
Type | Description |
Context | The context. |
getContextBuilder()
public Context.Builder getContextBuilder()
Context configuration.
.google.api.Context context = 12;
Type | Description |
Context.Builder |
getContextOrBuilder()
public ContextOrBuilder getContextOrBuilder()
Context configuration.
.google.api.Context context = 12;
Type | Description |
ContextOrBuilder |
getControl()
public Control getControl()
Configuration for the service control plane.
.google.api.Control control = 21;
Type | Description |
Control | The control. |
getControlBuilder()
public Control.Builder getControlBuilder()
Configuration for the service control plane.
.google.api.Control control = 21;
Type | Description |
Control.Builder |
getControlOrBuilder()
public ControlOrBuilder getControlOrBuilder()
Configuration for the service control plane.
.google.api.Control control = 21;
Type | Description |
ControlOrBuilder |
getDefaultInstanceForType()
public Service getDefaultInstanceForType()
Type | Description |
Service |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDocumentation()
public Documentation getDocumentation()
Additional API documentation.
.google.api.Documentation documentation = 6;
Type | Description |
Documentation | The documentation. |
getDocumentationBuilder()
public Documentation.Builder getDocumentationBuilder()
Additional API documentation.
.google.api.Documentation documentation = 6;
Type | Description |
Documentation.Builder |
getDocumentationOrBuilder()
public DocumentationOrBuilder getDocumentationOrBuilder()
Additional API documentation.
.google.api.Documentation documentation = 6;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
Endpoint |
getEndpointsBuilder(int index)
public Endpoint.Builder getEndpointsBuilder(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;
Name | Description |
index | int |
Type | Description |
Endpoint.Builder |
getEndpointsBuilderList()
public List<Endpoint.Builder> getEndpointsBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
Enum |
getEnumsBuilder(int index)
public Enum.Builder getEnumsBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
getEnumsBuilderList()
public List<Enum.Builder> getEnumsBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<? extends com.google.protobuf.EnumOrBuilder> |
getHttp()
public Http getHttp()
HTTP configuration.
.google.api.Http http = 9;
Type | Description |
Http | The http. |
getHttpBuilder()
public Http.Builder getHttpBuilder()
HTTP configuration.
.google.api.Http http = 9;
Type | Description |
Http.Builder |
getHttpOrBuilder()
public HttpOrBuilder getHttpOrBuilder()
HTTP configuration.
.google.api.Http http = 9;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString | The bytes for id. |
getLogging()
public Logging getLogging()
Logging configuration.
.google.api.Logging logging = 27;
Type | Description |
Logging | The logging. |
getLoggingBuilder()
public Logging.Builder getLoggingBuilder()
Logging configuration.
.google.api.Logging logging = 27;
Type | Description |
Logging.Builder |
getLoggingOrBuilder()
public LoggingOrBuilder getLoggingOrBuilder()
Logging configuration.
.google.api.Logging logging = 27;
Type | Description |
LoggingOrBuilder |
getLogs(int index)
public LogDescriptor getLogs(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
Type | Description |
LogDescriptor |
getLogsBuilder(int index)
public LogDescriptor.Builder getLogsBuilder(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
Type | Description |
LogDescriptor.Builder |
getLogsBuilderList()
public List<LogDescriptor.Builder> getLogsBuilderList()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Type | Description |
List<Builder> |
getLogsCount()
public int getLogsCount()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Type | Description |
int |
getLogsList()
public List<LogDescriptor> getLogsList()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Type | Description |
List<LogDescriptor> |
getLogsOrBuilder(int index)
public LogDescriptorOrBuilder getLogsOrBuilder(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
Type | Description |
LogDescriptorOrBuilder |
getLogsOrBuilderList()
public List<? extends LogDescriptorOrBuilder> getLogsOrBuilderList()
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
MetricDescriptor |
getMetricsBuilder(int index)
public MetricDescriptor.Builder getMetricsBuilder(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
Type | Description |
MetricDescriptor.Builder |
getMetricsBuilderList()
public List<MetricDescriptor.Builder> getMetricsBuilderList()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Type | Description |
List<Builder> |
getMetricsCount()
public int getMetricsCount()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Type | Description |
int |
getMetricsList()
public List<MetricDescriptor> getMetricsList()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Type | Description |
List<MetricDescriptor> |
getMetricsOrBuilder(int index)
public MetricDescriptorOrBuilder getMetricsOrBuilder(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
Type | Description |
MetricDescriptorOrBuilder |
getMetricsOrBuilderList()
public List<? extends MetricDescriptorOrBuilder> getMetricsOrBuilderList()
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
MonitoredResourceDescriptor |
getMonitoredResourcesBuilder(int index)
public MonitoredResourceDescriptor.Builder getMonitoredResourcesBuilder(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;
Name | Description |
index | int |
Type | Description |
MonitoredResourceDescriptor.Builder |
getMonitoredResourcesBuilderList()
public List<MonitoredResourceDescriptor.Builder> getMonitoredResourcesBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder> |
getMonitoring()
public Monitoring getMonitoring()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Type | Description |
Monitoring | The monitoring. |
getMonitoringBuilder()
public Monitoring.Builder getMonitoringBuilder()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Type | Description |
Monitoring.Builder |
getMonitoringOrBuilder()
public MonitoringOrBuilder getMonitoringOrBuilder()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString | The bytes for name. |
getProducerProjectId()
public String getProducerProjectId()
The Google project that owns this service.
string producer_project_id = 22;
Type | Description |
String | The producerProjectId. |
getProducerProjectIdBytes()
public ByteString getProducerProjectIdBytes()
The Google project that owns this service.
string producer_project_id = 22;
Type | Description |
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;
Type | Description |
Publishing | The publishing. |
getPublishingBuilder()
public Publishing.Builder getPublishingBuilder()
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
Type | Description |
Publishing.Builder |
getPublishingOrBuilder()
public PublishingOrBuilder getPublishingOrBuilder()
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
Type | Description |
PublishingOrBuilder |
getQuota()
public Quota getQuota()
Quota configuration.
.google.api.Quota quota = 10;
Type | Description |
Quota | The quota. |
getQuotaBuilder()
public Quota.Builder getQuotaBuilder()
Quota configuration.
.google.api.Quota quota = 10;
Type | Description |
Quota.Builder |
getQuotaOrBuilder()
public QuotaOrBuilder getQuotaOrBuilder()
Quota configuration.
.google.api.Quota quota = 10;
Type | Description |
QuotaOrBuilder |
getSourceInfo()
public SourceInfo getSourceInfo()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
Type | Description |
SourceInfo | The sourceInfo. |
getSourceInfoBuilder()
public SourceInfo.Builder getSourceInfoBuilder()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
Type | Description |
SourceInfo.Builder |
getSourceInfoOrBuilder()
public SourceInfoOrBuilder getSourceInfoOrBuilder()
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
Type | Description |
SourceInfoOrBuilder |
getSystemParameters()
public SystemParameters getSystemParameters()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Type | Description |
SystemParameters | The systemParameters. |
getSystemParametersBuilder()
public SystemParameters.Builder getSystemParametersBuilder()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Type | Description |
SystemParameters.Builder |
getSystemParametersOrBuilder()
public SystemParametersOrBuilder getSystemParametersOrBuilder()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Type | Description |
SystemParametersOrBuilder |
getTitle()
public String getTitle()
The product title for this service, it is the name displayed in Google Cloud Console.
string title = 2;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
Type |
getTypesBuilder(int index)
public Type.Builder getTypesBuilder(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;
Name | Description |
index | int |
Type | Description |
Builder |
getTypesBuilderList()
public List<Type.Builder> getTypesBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<? extends com.google.protobuf.TypeOrBuilder> |
getUsage()
public Usage getUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Type | Description |
Usage | The usage. |
getUsageBuilder()
public Usage.Builder getUsageBuilder()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Type | Description |
Usage.Builder |
getUsageOrBuilder()
public UsageOrBuilder getUsageOrBuilder()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Type | Description |
UsageOrBuilder |
hasAuthentication()
public boolean hasAuthentication()
Auth configuration.
.google.api.Authentication authentication = 11;
Type | Description |
boolean | Whether the authentication field is set. |
hasBackend()
public boolean hasBackend()
API backend configuration.
.google.api.Backend backend = 8;
Type | Description |
boolean | Whether the backend field is set. |
hasBilling()
public boolean hasBilling()
Billing configuration.
.google.api.Billing billing = 26;
Type | Description |
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;
Type | Description |
boolean | Whether the configVersion field is set. |
hasContext()
public boolean hasContext()
Context configuration.
.google.api.Context context = 12;
Type | Description |
boolean | Whether the context field is set. |
hasControl()
public boolean hasControl()
Configuration for the service control plane.
.google.api.Control control = 21;
Type | Description |
boolean | Whether the control field is set. |
hasDocumentation()
public boolean hasDocumentation()
Additional API documentation.
.google.api.Documentation documentation = 6;
Type | Description |
boolean | Whether the documentation field is set. |
hasHttp()
public boolean hasHttp()
HTTP configuration.
.google.api.Http http = 9;
Type | Description |
boolean | Whether the http field is set. |
hasLogging()
public boolean hasLogging()
Logging configuration.
.google.api.Logging logging = 27;
Type | Description |
boolean | Whether the logging field is set. |
hasMonitoring()
public boolean hasMonitoring()
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Type | Description |
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;
Type | Description |
boolean | Whether the publishing field is set. |
hasQuota()
public boolean hasQuota()
Quota configuration.
.google.api.Quota quota = 10;
Type | Description |
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;
Type | Description |
boolean | Whether the sourceInfo field is set. |
hasSystemParameters()
public boolean hasSystemParameters()
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Type | Description |
boolean | Whether the systemParameters field is set. |
hasUsage()
public boolean hasUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Type | Description |
boolean | Whether the usage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAuthentication(Authentication value)
public Service.Builder mergeAuthentication(Authentication value)
Auth configuration.
.google.api.Authentication authentication = 11;
Name | Description |
value | Authentication |
Type | Description |
Service.Builder |
mergeBackend(Backend value)
public Service.Builder mergeBackend(Backend value)
API backend configuration.
.google.api.Backend backend = 8;
Name | Description |
value | Backend |
Type | Description |
Service.Builder |
mergeBilling(Billing value)
public Service.Builder mergeBilling(Billing value)
Billing configuration.
.google.api.Billing billing = 26;
Name | Description |
value | Billing |
Type | Description |
Service.Builder |
mergeConfigVersion(UInt32Value value)
public Service.Builder mergeConfigVersion(UInt32Value value)
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;
Name | Description |
value | UInt32Value |
Type | Description |
Service.Builder |
mergeContext(Context value)
public Service.Builder mergeContext(Context value)
Context configuration.
.google.api.Context context = 12;
Name | Description |
value | Context |
Type | Description |
Service.Builder |
mergeControl(Control value)
public Service.Builder mergeControl(Control value)
Configuration for the service control plane.
.google.api.Control control = 21;
Name | Description |
value | Control |
Type | Description |
Service.Builder |
mergeDocumentation(Documentation value)
public Service.Builder mergeDocumentation(Documentation value)
Additional API documentation.
.google.api.Documentation documentation = 6;
Name | Description |
value | Documentation |
Type | Description |
Service.Builder |
mergeFrom(Service other)
public Service.Builder mergeFrom(Service other)
Name | Description |
other | Service |
Type | Description |
Service.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Service.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Service.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Service.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Service.Builder |
mergeHttp(Http value)
public Service.Builder mergeHttp(Http value)
HTTP configuration.
.google.api.Http http = 9;
Name | Description |
value | Http |
Type | Description |
Service.Builder |
mergeLogging(Logging value)
public Service.Builder mergeLogging(Logging value)
Logging configuration.
.google.api.Logging logging = 27;
Name | Description |
value | Logging |
Type | Description |
Service.Builder |
mergeMonitoring(Monitoring value)
public Service.Builder mergeMonitoring(Monitoring value)
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Name | Description |
value | Monitoring |
Type | Description |
Service.Builder |
mergePublishing(Publishing value)
public Service.Builder mergePublishing(Publishing value)
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
Name | Description |
value | Publishing |
Type | Description |
Service.Builder |
mergeQuota(Quota value)
public Service.Builder mergeQuota(Quota value)
Quota configuration.
.google.api.Quota quota = 10;
Name | Description |
value | Quota |
Type | Description |
Service.Builder |
mergeSourceInfo(SourceInfo value)
public Service.Builder mergeSourceInfo(SourceInfo value)
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
Name | Description |
value | SourceInfo |
Type | Description |
Service.Builder |
mergeSystemParameters(SystemParameters value)
public Service.Builder mergeSystemParameters(SystemParameters value)
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Name | Description |
value | SystemParameters |
Type | Description |
Service.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Service.Builder |
mergeUsage(Usage value)
public Service.Builder mergeUsage(Usage value)
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Name | Description |
value | Usage |
Type | Description |
Service.Builder |
removeApis(int index)
public Service.Builder removeApis(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;
Name | Description |
index | int |
Type | Description |
Service.Builder |
removeEndpoints(int index)
public Service.Builder removeEndpoints(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;
Name | Description |
index | int |
Type | Description |
Service.Builder |
removeEnums(int index)
public Service.Builder removeEnums(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;
Name | Description |
index | int |
Type | Description |
Service.Builder |
removeLogs(int index)
public Service.Builder removeLogs(int index)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
Type | Description |
Service.Builder |
removeMetrics(int index)
public Service.Builder removeMetrics(int index)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
Type | Description |
Service.Builder |
removeMonitoredResources(int index)
public Service.Builder removeMonitoredResources(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;
Name | Description |
index | int |
Type | Description |
Service.Builder |
removeTypes(int index)
public Service.Builder removeTypes(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;
Name | Description |
index | int |
Type | Description |
Service.Builder |
setApis(int index, Api value)
public Service.Builder setApis(int index, Api value)
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;
Name | Description |
index | int |
value | Api |
Type | Description |
Service.Builder |
setApis(int index, Api.Builder builderForValue)
public Service.Builder setApis(int index, Api.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
Service.Builder |
setAuthentication(Authentication value)
public Service.Builder setAuthentication(Authentication value)
Auth configuration.
.google.api.Authentication authentication = 11;
Name | Description |
value | Authentication |
Type | Description |
Service.Builder |
setAuthentication(Authentication.Builder builderForValue)
public Service.Builder setAuthentication(Authentication.Builder builderForValue)
Auth configuration.
.google.api.Authentication authentication = 11;
Name | Description |
builderForValue | Authentication.Builder |
Type | Description |
Service.Builder |
setBackend(Backend value)
public Service.Builder setBackend(Backend value)
API backend configuration.
.google.api.Backend backend = 8;
Name | Description |
value | Backend |
Type | Description |
Service.Builder |
setBackend(Backend.Builder builderForValue)
public Service.Builder setBackend(Backend.Builder builderForValue)
API backend configuration.
.google.api.Backend backend = 8;
Name | Description |
builderForValue | Backend.Builder |
Type | Description |
Service.Builder |
setBilling(Billing value)
public Service.Builder setBilling(Billing value)
Billing configuration.
.google.api.Billing billing = 26;
Name | Description |
value | Billing |
Type | Description |
Service.Builder |
setBilling(Billing.Builder builderForValue)
public Service.Builder setBilling(Billing.Builder builderForValue)
Billing configuration.
.google.api.Billing billing = 26;
Name | Description |
builderForValue | Billing.Builder |
Type | Description |
Service.Builder |
setConfigVersion(UInt32Value value)
public Service.Builder setConfigVersion(UInt32Value value)
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;
Name | Description |
value | UInt32Value |
Type | Description |
Service.Builder |
setConfigVersion(UInt32Value.Builder builderForValue)
public Service.Builder setConfigVersion(UInt32Value.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
Service.Builder |
setContext(Context value)
public Service.Builder setContext(Context value)
Context configuration.
.google.api.Context context = 12;
Name | Description |
value | Context |
Type | Description |
Service.Builder |
setContext(Context.Builder builderForValue)
public Service.Builder setContext(Context.Builder builderForValue)
Context configuration.
.google.api.Context context = 12;
Name | Description |
builderForValue | Context.Builder |
Type | Description |
Service.Builder |
setControl(Control value)
public Service.Builder setControl(Control value)
Configuration for the service control plane.
.google.api.Control control = 21;
Name | Description |
value | Control |
Type | Description |
Service.Builder |
setControl(Control.Builder builderForValue)
public Service.Builder setControl(Control.Builder builderForValue)
Configuration for the service control plane.
.google.api.Control control = 21;
Name | Description |
builderForValue | Control.Builder |
Type | Description |
Service.Builder |
setDocumentation(Documentation value)
public Service.Builder setDocumentation(Documentation value)
Additional API documentation.
.google.api.Documentation documentation = 6;
Name | Description |
value | Documentation |
Type | Description |
Service.Builder |
setDocumentation(Documentation.Builder builderForValue)
public Service.Builder setDocumentation(Documentation.Builder builderForValue)
Additional API documentation.
.google.api.Documentation documentation = 6;
Name | Description |
builderForValue | Documentation.Builder |
Type | Description |
Service.Builder |
setEndpoints(int index, Endpoint value)
public Service.Builder setEndpoints(int index, Endpoint value)
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;
Name | Description |
index | int |
value | Endpoint |
Type | Description |
Service.Builder |
setEndpoints(int index, Endpoint.Builder builderForValue)
public Service.Builder setEndpoints(int index, Endpoint.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Endpoint.Builder |
Type | Description |
Service.Builder |
setEnums(int index, Enum value)
public Service.Builder setEnums(int index, Enum value)
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;
Name | Description |
index | int |
value | Enum |
Type | Description |
Service.Builder |
setEnums(int index, Enum.Builder builderForValue)
public Service.Builder setEnums(int index, Enum.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
Service.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Service.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Service.Builder |
setHttp(Http value)
public Service.Builder setHttp(Http value)
HTTP configuration.
.google.api.Http http = 9;
Name | Description |
value | Http |
Type | Description |
Service.Builder |
setHttp(Http.Builder builderForValue)
public Service.Builder setHttp(Http.Builder builderForValue)
HTTP configuration.
.google.api.Http http = 9;
Name | Description |
builderForValue | Http.Builder |
Type | Description |
Service.Builder |
setId(String value)
public Service.Builder setId(String value)
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;
Name | Description |
value | String The id to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public Service.Builder setIdBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setLogging(Logging value)
public Service.Builder setLogging(Logging value)
Logging configuration.
.google.api.Logging logging = 27;
Name | Description |
value | Logging |
Type | Description |
Service.Builder |
setLogging(Logging.Builder builderForValue)
public Service.Builder setLogging(Logging.Builder builderForValue)
Logging configuration.
.google.api.Logging logging = 27;
Name | Description |
builderForValue | Logging.Builder |
Type | Description |
Service.Builder |
setLogs(int index, LogDescriptor value)
public Service.Builder setLogs(int index, LogDescriptor value)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
value | LogDescriptor |
Type | Description |
Service.Builder |
setLogs(int index, LogDescriptor.Builder builderForValue)
public Service.Builder setLogs(int index, LogDescriptor.Builder builderForValue)
Defines the logs used by this service.
repeated .google.api.LogDescriptor logs = 23;
Name | Description |
index | int |
builderForValue | LogDescriptor.Builder |
Type | Description |
Service.Builder |
setMetrics(int index, MetricDescriptor value)
public Service.Builder setMetrics(int index, MetricDescriptor value)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
value | MetricDescriptor |
Type | Description |
Service.Builder |
setMetrics(int index, MetricDescriptor.Builder builderForValue)
public Service.Builder setMetrics(int index, MetricDescriptor.Builder builderForValue)
Defines the metrics used by this service.
repeated .google.api.MetricDescriptor metrics = 24;
Name | Description |
index | int |
builderForValue | MetricDescriptor.Builder |
Type | Description |
Service.Builder |
setMonitoredResources(int index, MonitoredResourceDescriptor value)
public Service.Builder setMonitoredResources(int index, MonitoredResourceDescriptor value)
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;
Name | Description |
index | int |
value | MonitoredResourceDescriptor |
Type | Description |
Service.Builder |
setMonitoredResources(int index, MonitoredResourceDescriptor.Builder builderForValue)
public Service.Builder setMonitoredResources(int index, MonitoredResourceDescriptor.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | MonitoredResourceDescriptor.Builder |
Type | Description |
Service.Builder |
setMonitoring(Monitoring value)
public Service.Builder setMonitoring(Monitoring value)
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Name | Description |
value | Monitoring |
Type | Description |
Service.Builder |
setMonitoring(Monitoring.Builder builderForValue)
public Service.Builder setMonitoring(Monitoring.Builder builderForValue)
Monitoring configuration.
.google.api.Monitoring monitoring = 28;
Name | Description |
builderForValue | Monitoring.Builder |
Type | Description |
Service.Builder |
setName(String value)
public Service.Builder setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Service.Builder setNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setProducerProjectId(String value)
public Service.Builder setProducerProjectId(String value)
The Google project that owns this service.
string producer_project_id = 22;
Name | Description |
value | String The producerProjectId to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setProducerProjectIdBytes(ByteString value)
public Service.Builder setProducerProjectIdBytes(ByteString value)
The Google project that owns this service.
string producer_project_id = 22;
Name | Description |
value | ByteString The bytes for producerProjectId to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setPublishing(Publishing value)
public Service.Builder setPublishing(Publishing value)
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
Name | Description |
value | Publishing |
Type | Description |
Service.Builder |
setPublishing(Publishing.Builder builderForValue)
public Service.Builder setPublishing(Publishing.Builder builderForValue)
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
.google.api.Publishing publishing = 45;
Name | Description |
builderForValue | Publishing.Builder |
Type | Description |
Service.Builder |
setQuota(Quota value)
public Service.Builder setQuota(Quota value)
Quota configuration.
.google.api.Quota quota = 10;
Name | Description |
value | Quota |
Type | Description |
Service.Builder |
setQuota(Quota.Builder builderForValue)
public Service.Builder setQuota(Quota.Builder builderForValue)
Quota configuration.
.google.api.Quota quota = 10;
Name | Description |
builderForValue | Quota.Builder |
Type | Description |
Service.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Service.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Service.Builder |
setSourceInfo(SourceInfo value)
public Service.Builder setSourceInfo(SourceInfo value)
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
Name | Description |
value | SourceInfo |
Type | Description |
Service.Builder |
setSourceInfo(SourceInfo.Builder builderForValue)
public Service.Builder setSourceInfo(SourceInfo.Builder builderForValue)
Output only. The source information for this configuration if available.
.google.api.SourceInfo source_info = 37;
Name | Description |
builderForValue | SourceInfo.Builder |
Type | Description |
Service.Builder |
setSystemParameters(SystemParameters value)
public Service.Builder setSystemParameters(SystemParameters value)
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Name | Description |
value | SystemParameters |
Type | Description |
Service.Builder |
setSystemParameters(SystemParameters.Builder builderForValue)
public Service.Builder setSystemParameters(SystemParameters.Builder builderForValue)
System parameter configuration.
.google.api.SystemParameters system_parameters = 29;
Name | Description |
builderForValue | SystemParameters.Builder |
Type | Description |
Service.Builder |
setTitle(String value)
public Service.Builder setTitle(String value)
The product title for this service, it is the name displayed in Google Cloud Console.
string title = 2;
Name | Description |
value | String The title to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public Service.Builder setTitleBytes(ByteString value)
The product title for this service, it is the name displayed in Google Cloud Console.
string title = 2;
Name | Description |
value | ByteString The bytes for title to set. |
Type | Description |
Service.Builder | This builder for chaining. |
setTypes(int index, Type value)
public Service.Builder setTypes(int index, Type value)
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;
Name | Description |
index | int |
value | Type |
Type | Description |
Service.Builder |
setTypes(int index, Type.Builder builderForValue)
public Service.Builder setTypes(int index, Type.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Builder |
Type | Description |
Service.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Service.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Service.Builder |
setUsage(Usage value)
public Service.Builder setUsage(Usage value)
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Name | Description |
value | Usage |
Type | Description |
Service.Builder |
setUsage(Usage.Builder builderForValue)
public Service.Builder setUsage(Usage.Builder builderForValue)
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Name | Description |
builderForValue | Usage.Builder |
Type | Description |
Service.Builder |