Class Service.Builder

public static final class Service.Builder extends GeneratedMessageV3.Builder<Service.Builder> implements ServiceOrBuilder

Service is the root object of Google service configuration schema. It describes basic information about a service, such as the name and the title, and delegates other aspects to sub-sections. Each sub-section is either a proto message or a repeated proto message that configures a specific aspect, such as auth. See each proto message definition for details. Example: type: google.api.Service name: calendar.googleapis.com title: Google Calendar API apis:

Protobuf type google.api.Service

Implements

ServiceOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Api>
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<? extends com.google.api.Endpoint>
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Enum>
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<? extends com.google.api.LogDescriptor>
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<? extends com.google.api.MetricDescriptor>
Returns
TypeDescription
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;

Parameter
NameDescription
valuesIterable<? extends com.google.api.MonitoredResourceDescriptor>
Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Type>
Returns
TypeDescription
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;

Parameter
NameDescription
valueApi
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueApi
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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;

Returns
TypeDescription
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;

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

Parameter
NameDescription
valueEndpoint
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueEndpoint.Builder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueEndpoint
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
builderForValueEndpoint.Builder
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
valueEnum
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameters
NameDescription
indexint
valueEnum
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

addLogs(LogDescriptor value)

public Service.Builder addLogs(LogDescriptor value)

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Parameter
NameDescription
valueLogDescriptor
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueLogDescriptor.Builder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueLogDescriptor
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
builderForValueLogDescriptor.Builder
Returns
TypeDescription
Service.Builder

addLogsBuilder()

public LogDescriptor.Builder addLogsBuilder()

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Returns
TypeDescription
LogDescriptor.Builder

addLogsBuilder(int index)

public LogDescriptor.Builder addLogsBuilder(int index)

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogDescriptor.Builder

addMetrics(MetricDescriptor value)

public Service.Builder addMetrics(MetricDescriptor value)

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Parameter
NameDescription
valueMetricDescriptor
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueMetricDescriptor.Builder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueMetricDescriptor
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
builderForValueMetricDescriptor.Builder
Returns
TypeDescription
Service.Builder

addMetricsBuilder()

public MetricDescriptor.Builder addMetricsBuilder()

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Returns
TypeDescription
MetricDescriptor.Builder

addMetricsBuilder(int index)

public MetricDescriptor.Builder addMetricsBuilder(int index)

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

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

Parameter
NameDescription
valueMonitoredResourceDescriptor
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueMonitoredResourceDescriptor.Builder
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
valueMonitoredResourceDescriptor
Returns
TypeDescription
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;

Parameters
NameDescription
indexint
builderForValueMonitoredResourceDescriptor.Builder
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
MonitoredResourceDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Service.Builder
Overrides

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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
valueType
Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameters
NameDescription
indexint
valueType
Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

build()

public Service build()
Returns
TypeDescription
Service

buildPartial()

public Service buildPartial()
Returns
TypeDescription
Service

clear()

public Service.Builder clear()
Returns
TypeDescription
Service.Builder
Overrides

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;

Returns
TypeDescription
Service.Builder

clearAuthentication()

public Service.Builder clearAuthentication()

Auth configuration.

.google.api.Authentication authentication = 11;

Returns
TypeDescription
Service.Builder

clearBackend()

public Service.Builder clearBackend()

API backend configuration.

.google.api.Backend backend = 8;

Returns
TypeDescription
Service.Builder

clearBilling()

public Service.Builder clearBilling()

Billing configuration.

.google.api.Billing billing = 26;

Returns
TypeDescription
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 [deprecated = true];

Returns
TypeDescription
Service.Builder

clearContext()

public Service.Builder clearContext()

Context configuration.

.google.api.Context context = 12;

Returns
TypeDescription
Service.Builder

clearControl()

public Service.Builder clearControl()

Configuration for the service control plane.

.google.api.Control control = 21;

Returns
TypeDescription
Service.Builder

clearDocumentation()

public Service.Builder clearDocumentation()

Additional API documentation.

.google.api.Documentation documentation = 6;

Returns
TypeDescription
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;

Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Returns
TypeDescription
Service.Builder

clearField(Descriptors.FieldDescriptor field)

public Service.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Service.Builder
Overrides

clearHttp()

public Service.Builder clearHttp()

HTTP configuration.

.google.api.Http http = 9;

Returns
TypeDescription
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;

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearLogging()

public Service.Builder clearLogging()

Logging configuration.

.google.api.Logging logging = 27;

Returns
TypeDescription
Service.Builder

clearLogs()

public Service.Builder clearLogs()

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Returns
TypeDescription
Service.Builder

clearMetrics()

public Service.Builder clearMetrics()

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Returns
TypeDescription
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;

Returns
TypeDescription
Service.Builder

clearMonitoring()

public Service.Builder clearMonitoring()

Monitoring configuration.

.google.api.Monitoring monitoring = 28;

Returns
TypeDescription
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;

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Service.Builder
Overrides

clearProducerProjectId()

public Service.Builder clearProducerProjectId()

The Google project that owns this service.

string producer_project_id = 22;

Returns
TypeDescription
Service.Builder

This builder for chaining.

clearQuota()

public Service.Builder clearQuota()

Quota configuration.

.google.api.Quota quota = 10;

Returns
TypeDescription
Service.Builder

clearSourceInfo()

public Service.Builder clearSourceInfo()

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

.google.api.SourceInfo source_info = 37;

Returns
TypeDescription
Service.Builder

clearSystemParameters()

public Service.Builder clearSystemParameters()

System parameter configuration.

.google.api.SystemParameters system_parameters = 29;

Returns
TypeDescription
Service.Builder

clearTitle()

public Service.Builder clearTitle()

The product title for this service.

string title = 2;

Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Returns
TypeDescription
Service.Builder

clearUsage()

public Service.Builder clearUsage()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
TypeDescription
Service.Builder

clone()

public Service.Builder clone()
Returns
TypeDescription
Service.Builder
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

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;

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

Returns
TypeDescription
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;

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.

getAuthenticationBuilder()

public Authentication.Builder getAuthenticationBuilder()

Auth configuration.

.google.api.Authentication authentication = 11;

Returns
TypeDescription
Authentication.Builder

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.

getBackendBuilder()

public Backend.Builder getBackendBuilder()

API backend configuration.

.google.api.Backend backend = 8;

Returns
TypeDescription
Backend.Builder

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.

getBillingBuilder()

public Billing.Builder getBillingBuilder()

Billing configuration.

.google.api.Billing billing = 26;

Returns
TypeDescription
Billing.Builder

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 [deprecated = true];

Returns
TypeDescription
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 [deprecated = true];

Returns
TypeDescription
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 [deprecated = true];

Returns
TypeDescription
UInt32ValueOrBuilder

getContext()

public Context getContext()

Context configuration.

.google.api.Context context = 12;

Returns
TypeDescription
Context

The context.

getContextBuilder()

public Context.Builder getContextBuilder()

Context configuration.

.google.api.Context context = 12;

Returns
TypeDescription
Context.Builder

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.

getControlBuilder()

public Control.Builder getControlBuilder()

Configuration for the service control plane.

.google.api.Control control = 21;

Returns
TypeDescription
Control.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocumentation()

public Documentation getDocumentation()

Additional API documentation.

.google.api.Documentation documentation = 6;

Returns
TypeDescription
Documentation

The documentation.

getDocumentationBuilder()

public Documentation.Builder getDocumentationBuilder()

Additional API documentation.

.google.api.Documentation documentation = 6;

Returns
TypeDescription
Documentation.Builder

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

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;

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

Returns
TypeDescription
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;

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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
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. Example: enums:

  • name: google.someapi.v1.SomeEnum

repeated .google.protobuf.Enum enums = 5;

Returns
TypeDescription
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. 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. 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. 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. 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.

getHttpBuilder()

public Http.Builder getHttpBuilder()

HTTP configuration.

.google.api.Http http = 9;

Returns
TypeDescription
Http.Builder

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.

getLoggingBuilder()

public Logging.Builder getLoggingBuilder()

Logging configuration.

.google.api.Logging logging = 27;

Returns
TypeDescription
Logging.Builder

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

getLogsBuilder(int index)

public LogDescriptor.Builder getLogsBuilder(int index)

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogDescriptor.Builder

getLogsBuilderList()

public List<LogDescriptor.Builder> getLogsBuilderList()

Defines the logs used by this service.

repeated .google.api.LogDescriptor logs = 23;

Returns
TypeDescription
List<Builder>

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

getMetricsBuilder(int index)

public MetricDescriptor.Builder getMetricsBuilder(int index)

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Parameter
NameDescription
indexint
Returns
TypeDescription
MetricDescriptor.Builder

getMetricsBuilderList()

public List<MetricDescriptor.Builder> getMetricsBuilderList()

Defines the metrics used by this service.

repeated .google.api.MetricDescriptor metrics = 24;

Returns
TypeDescription
List<Builder>

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

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;

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

Returns
TypeDescription
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;

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.

getMonitoringBuilder()

public Monitoring.Builder getMonitoringBuilder()

Monitoring configuration.

.google.api.Monitoring monitoring = 28;

Returns
TypeDescription
Monitoring.Builder

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.

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.

getQuota()

public Quota getQuota()

Quota configuration.

.google.api.Quota quota = 10;

Returns
TypeDescription
Quota

The quota.

getQuotaBuilder()

public Quota.Builder getQuotaBuilder()

Quota configuration.

.google.api.Quota quota = 10;

Returns
TypeDescription
Quota.Builder

getQuotaOrBuilder()

public QuotaOrBuilder getQuotaOrBuilder()

Quota configuration.

.google.api.Quota quota = 10;

Returns
TypeDescription
QuotaOrBuilder

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.

getSourceInfoBuilder()

public SourceInfo.Builder getSourceInfoBuilder()

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

.google.api.SourceInfo source_info = 37;

Returns
TypeDescription
SourceInfo.Builder

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.

getSystemParametersBuilder()

public SystemParameters.Builder getSystemParametersBuilder()

System parameter configuration.

.google.api.SystemParameters system_parameters = 29;

Returns
TypeDescription
SystemParameters.Builder

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.

string title = 2;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The product title for this service.

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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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. Example: types:

  • name: google.protobuf.Int32

repeated .google.protobuf.Type types = 4;

Returns
TypeDescription
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. 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. 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. 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. 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.

getUsageBuilder()

public Usage.Builder getUsageBuilder()

Configuration controlling usage of this service.

.google.api.Usage usage = 15;

Returns
TypeDescription
Usage.Builder

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 [deprecated = true];

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
<