- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.8
public static final class ServiceConfig.Builder extends GeneratedMessageV3.Builder<ServiceConfig.Builder> implements ServiceConfigOrBuilder
The configuration of the service.
Protobuf type google.api.serviceusage.v1.ServiceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceConfig.BuilderImplements
ServiceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllApis(Iterable<? extends Api> values)
public ServiceConfig.Builder addAllApis(Iterable<? extends Api> values)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.protobuf.Api> |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addAllEndpoints(Iterable<? extends Endpoint> values)
public ServiceConfig.Builder addAllEndpoints(Iterable<? extends Endpoint> values)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.api.Endpoint> |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addAllMonitoredResources(Iterable<? extends MonitoredResourceDescriptor> values)
public ServiceConfig.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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.api.MonitoredResourceDescriptor> |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addApis(Api value)
public ServiceConfig.Builder addApis(Api value)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
value | Api |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addApis(Api.Builder builderForValue)
public ServiceConfig.Builder addApis(Api.Builder builderForValue)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addApis(int index, Api value)
public ServiceConfig.Builder addApis(int index, Api value)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | Api |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addApis(int index, Api.Builder builderForValue)
public ServiceConfig.Builder addApis(int index, Api.Builder builderForValue)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addApisBuilder()
public Api.Builder addApisBuilder()
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Returns | |
---|---|
Type | Description |
Builder |
addApisBuilder(int index)
public Api.Builder addApisBuilder(int index)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Builder |
addEndpoints(Endpoint value)
public ServiceConfig.Builder addEndpoints(Endpoint value)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Endpoint |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addEndpoints(Endpoint.Builder builderForValue)
public ServiceConfig.Builder addEndpoints(Endpoint.Builder builderForValue)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.Endpoint.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addEndpoints(int index, Endpoint value)
public ServiceConfig.Builder addEndpoints(int index, Endpoint value)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameters | |
---|---|
Name | Description |
index | int |
value | com.google.api.Endpoint |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addEndpoints(int index, Endpoint.Builder builderForValue)
public ServiceConfig.Builder addEndpoints(int index, Endpoint.Builder builderForValue)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.api.Endpoint.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addEndpointsBuilder()
public Endpoint.Builder addEndpointsBuilder()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Returns | |
---|---|
Type | Description |
com.google.api.Endpoint.Builder |
addEndpointsBuilder(int index)
public Endpoint.Builder addEndpointsBuilder(int index)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.Endpoint.Builder |
addMonitoredResources(MonitoredResourceDescriptor value)
public ServiceConfig.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 | |
---|---|
Name | Description |
value | com.google.api.MonitoredResourceDescriptor |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addMonitoredResources(MonitoredResourceDescriptor.Builder builderForValue)
public ServiceConfig.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 | |
---|---|
Name | Description |
builderForValue | com.google.api.MonitoredResourceDescriptor.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addMonitoredResources(int index, MonitoredResourceDescriptor value)
public ServiceConfig.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 | |
---|---|
Name | Description |
index | int |
value | com.google.api.MonitoredResourceDescriptor |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
addMonitoredResources(int index, MonitoredResourceDescriptor.Builder builderForValue)
public ServiceConfig.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 | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.api.MonitoredResourceDescriptor.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.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 | |
---|---|
Type | Description |
com.google.api.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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.MonitoredResourceDescriptor.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
build()
public ServiceConfig build()
Returns | |
---|---|
Type | Description |
ServiceConfig |
buildPartial()
public ServiceConfig buildPartial()
Returns | |
---|---|
Type | Description |
ServiceConfig |
clear()
public ServiceConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearApis()
public ServiceConfig.Builder clearApis()
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearAuthentication()
public ServiceConfig.Builder clearAuthentication()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearDocumentation()
public ServiceConfig.Builder clearDocumentation()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearEndpoints()
public ServiceConfig.Builder clearEndpoints()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public ServiceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearMonitoredResources()
public ServiceConfig.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 | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearMonitoring()
public ServiceConfig.Builder clearMonitoring()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearName()
public ServiceConfig.Builder clearName()
The DNS address at which this service is available.
An example DNS address would be:
calendar.googleapis.com
.
string name = 1;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearQuota()
public ServiceConfig.Builder clearQuota()
Quota configuration.
.google.api.Quota quota = 10;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clearTitle()
public ServiceConfig.Builder clearTitle()
The product title for this service.
string title = 2;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder | This builder for chaining. |
clearUsage()
public ServiceConfig.Builder clearUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
clone()
public ServiceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
getApis(int index)
public Api getApis(int index)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Api |
getApisBuilder(int index)
public Api.Builder getApisBuilder(int index)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Builder |
getApisBuilderList()
public List<Api.Builder> getApisBuilderList()
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getApisCount()
public int getApisCount()
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Returns | |
---|---|
Type | Description |
int |
getApisList()
public List<Api> getApisList()
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Returns | |
---|---|
Type | Description |
List<Api> |
getApisOrBuilder(int index)
public ApiOrBuilder getApisOrBuilder(int index)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ApiOrBuilder |
getApisOrBuilderList()
public List<? extends ApiOrBuilder> getApisOrBuilderList()
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.protobuf.ApiOrBuilder> |
getAuthentication()
public Authentication getAuthentication()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Returns | |
---|---|
Type | Description |
com.google.api.Authentication | The authentication. |
getAuthenticationBuilder()
public Authentication.Builder getAuthenticationBuilder()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Returns | |
---|---|
Type | Description |
com.google.api.Authentication.Builder |
getAuthenticationOrBuilder()
public AuthenticationOrBuilder getAuthenticationOrBuilder()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Returns | |
---|---|
Type | Description |
com.google.api.AuthenticationOrBuilder |
getDefaultInstanceForType()
public ServiceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ServiceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDocumentation()
public Documentation getDocumentation()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Returns | |
---|---|
Type | Description |
com.google.api.Documentation | The documentation. |
getDocumentationBuilder()
public Documentation.Builder getDocumentationBuilder()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Returns | |
---|---|
Type | Description |
com.google.api.Documentation.Builder |
getDocumentationOrBuilder()
public DocumentationOrBuilder getDocumentationOrBuilder()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Returns | |
---|---|
Type | Description |
com.google.api.DocumentationOrBuilder |
getEndpoints(int index)
public Endpoint getEndpoints(int index)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.Endpoint |
getEndpointsBuilder(int index)
public Endpoint.Builder getEndpointsBuilder(int index)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.Endpoint.Builder |
getEndpointsBuilderList()
public List<Endpoint.Builder> getEndpointsBuilderList()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Returns | |
---|---|
Type | Description |
List<com.google.api.Endpoint.Builder> |
getEndpointsCount()
public int getEndpointsCount()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Returns | |
---|---|
Type | Description |
int |
getEndpointsList()
public List<Endpoint> getEndpointsList()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Returns | |
---|---|
Type | Description |
List<com.google.api.Endpoint> |
getEndpointsOrBuilder(int index)
public EndpointOrBuilder getEndpointsOrBuilder(int index)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.EndpointOrBuilder |
getEndpointsOrBuilderList()
public List<? extends EndpointOrBuilder> getEndpointsOrBuilderList()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Returns | |
---|---|
Type | Description |
List<? extends com.google.api.EndpointOrBuilder> |
getMonitoredResources(int index)
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.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 | |
---|---|
Type | Description |
List<com.google.api.MonitoredResourceDescriptor.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 | |
---|---|
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;
Returns | |
---|---|
Type | Description |
List<com.google.api.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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.api.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 | |
---|---|
Type | Description |
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder> |
getMonitoring()
public Monitoring getMonitoring()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Returns | |
---|---|
Type | Description |
com.google.api.Monitoring | The monitoring. |
getMonitoringBuilder()
public Monitoring.Builder getMonitoringBuilder()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Returns | |
---|---|
Type | Description |
com.google.api.Monitoring.Builder |
getMonitoringOrBuilder()
public MonitoringOrBuilder getMonitoringOrBuilder()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Returns | |
---|---|
Type | Description |
com.google.api.MonitoringOrBuilder |
getName()
public String getName()
The DNS address at which this service is available.
An example DNS address would be:
calendar.googleapis.com
.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The DNS address at which this service is available.
An example DNS address would be:
calendar.googleapis.com
.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getQuota()
public Quota getQuota()
Quota configuration.
.google.api.Quota quota = 10;
Returns | |
---|---|
Type | Description |
com.google.api.Quota | The quota. |
getQuotaBuilder()
public Quota.Builder getQuotaBuilder()
Quota configuration.
.google.api.Quota quota = 10;
Returns | |
---|---|
Type | Description |
com.google.api.Quota.Builder |
getQuotaOrBuilder()
public QuotaOrBuilder getQuotaOrBuilder()
Quota configuration.
.google.api.Quota quota = 10;
Returns | |
---|---|
Type | Description |
com.google.api.QuotaOrBuilder |
getTitle()
public String getTitle()
The product title for this service.
string title = 2;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
The product title for this service.
string title = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
getUsage()
public Usage getUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Returns | |
---|---|
Type | Description |
com.google.api.Usage | The usage. |
getUsageBuilder()
public Usage.Builder getUsageBuilder()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Returns | |
---|---|
Type | Description |
com.google.api.Usage.Builder |
getUsageOrBuilder()
public UsageOrBuilder getUsageOrBuilder()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Returns | |
---|---|
Type | Description |
com.google.api.UsageOrBuilder |
hasAuthentication()
public boolean hasAuthentication()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the authentication field is set. |
hasDocumentation()
public boolean hasDocumentation()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the documentation field is set. |
hasMonitoring()
public boolean hasMonitoring()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Returns | |
---|---|
Type | Description |
boolean | Whether the monitoring field is set. |
hasQuota()
public boolean hasQuota()
Quota configuration.
.google.api.Quota quota = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the quota field is set. |
hasUsage()
public boolean hasUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Returns | |
---|---|
Type | Description |
boolean | Whether the usage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAuthentication(Authentication value)
public ServiceConfig.Builder mergeAuthentication(Authentication value)
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Authentication |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
mergeDocumentation(Documentation value)
public ServiceConfig.Builder mergeDocumentation(Documentation value)
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Documentation |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
mergeFrom(ServiceConfig other)
public ServiceConfig.Builder mergeFrom(ServiceConfig other)
Parameter | |
---|---|
Name | Description |
other | ServiceConfig |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ServiceConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
mergeMonitoring(Monitoring value)
public ServiceConfig.Builder mergeMonitoring(Monitoring value)
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Monitoring |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
mergeQuota(Quota value)
public ServiceConfig.Builder mergeQuota(Quota value)
Quota configuration.
.google.api.Quota quota = 10;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Quota |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
mergeUsage(Usage value)
public ServiceConfig.Builder mergeUsage(Usage value)
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Usage |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
removeApis(int index)
public ServiceConfig.Builder removeApis(int index)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
removeEndpoints(int index)
public ServiceConfig.Builder removeEndpoints(int index)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
removeMonitoredResources(int index)
public ServiceConfig.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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setApis(int index, Api value)
public ServiceConfig.Builder setApis(int index, Api value)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | Api |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setApis(int index, Api.Builder builderForValue)
public ServiceConfig.Builder setApis(int index, Api.Builder builderForValue)
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
repeated .google.protobuf.Api apis = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setAuthentication(Authentication value)
public ServiceConfig.Builder setAuthentication(Authentication value)
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Authentication |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setAuthentication(Authentication.Builder builderForValue)
public ServiceConfig.Builder setAuthentication(Authentication.Builder builderForValue)
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.Authentication.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setDocumentation(Documentation value)
public ServiceConfig.Builder setDocumentation(Documentation value)
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Documentation |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setDocumentation(Documentation.Builder builderForValue)
public ServiceConfig.Builder setDocumentation(Documentation.Builder builderForValue)
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.Documentation.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setEndpoints(int index, Endpoint value)
public ServiceConfig.Builder setEndpoints(int index, Endpoint value)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameters | |
---|---|
Name | Description |
index | int |
value | com.google.api.Endpoint |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setEndpoints(int index, Endpoint.Builder builderForValue)
public ServiceConfig.Builder setEndpoints(int index, Endpoint.Builder builderForValue)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.api.Endpoint.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setMonitoredResources(int index, MonitoredResourceDescriptor value)
public ServiceConfig.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;
Parameters | |
---|---|
Name | Description |
index | int |
value | com.google.api.MonitoredResourceDescriptor |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setMonitoredResources(int index, MonitoredResourceDescriptor.Builder builderForValue)
public ServiceConfig.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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.api.MonitoredResourceDescriptor.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setMonitoring(Monitoring value)
public ServiceConfig.Builder setMonitoring(Monitoring value)
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Monitoring |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setMonitoring(Monitoring.Builder builderForValue)
public ServiceConfig.Builder setMonitoring(Monitoring.Builder builderForValue)
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.Monitoring.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setName(String value)
public ServiceConfig.Builder setName(String value)
The DNS address at which this service is available.
An example DNS address would be:
calendar.googleapis.com
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ServiceConfig.Builder setNameBytes(ByteString value)
The DNS address at which this service is available.
An example DNS address would be:
calendar.googleapis.com
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder | This builder for chaining. |
setQuota(Quota value)
public ServiceConfig.Builder setQuota(Quota value)
Quota configuration.
.google.api.Quota quota = 10;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Quota |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setQuota(Quota.Builder builderForValue)
public ServiceConfig.Builder setQuota(Quota.Builder builderForValue)
Quota configuration.
.google.api.Quota quota = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.Quota.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setTitle(String value)
public ServiceConfig.Builder setTitle(String value)
The product title for this service.
string title = 2;
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public ServiceConfig.Builder setTitleBytes(ByteString value)
The product title for this service.
string title = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setUsage(Usage value)
public ServiceConfig.Builder setUsage(Usage value)
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Parameter | |
---|---|
Name | Description |
value | com.google.api.Usage |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |
setUsage(Usage.Builder builderForValue)
public ServiceConfig.Builder setUsage(Usage.Builder builderForValue)
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.api.Usage.Builder |
Returns | |
---|---|
Type | Description |
ServiceConfig.Builder |