public final class ServiceConfig extends GeneratedMessageV3 implements ServiceConfigOrBuilder
The configuration of the service.
Protobuf type google.api.serviceusage.v1beta1.ServiceConfig
Static Fields
APIS_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER
Field Value
AUTHENTICATION_FIELD_NUMBER
public static final int AUTHENTICATION_FIELD_NUMBER
Field Value
DOCUMENTATION_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER
Field Value
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
Field Value
MONITORED_RESOURCES_FIELD_NUMBER
public static final int MONITORED_RESOURCES_FIELD_NUMBER
Field Value
MONITORING_FIELD_NUMBER
public static final int MONITORING_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
QUOTA_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER
Field Value
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ServiceConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ServiceConfig.Builder newBuilder()
Returns
newBuilder(ServiceConfig prototype)
public static ServiceConfig.Builder newBuilder(ServiceConfig prototype)
Parameter
Returns
public static ServiceConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ServiceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ServiceConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ServiceConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ServiceConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ServiceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ServiceConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ServiceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ServiceConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ServiceConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
Returns
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
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
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
Returns
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.
|
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
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.
|
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
Returns
Type | Description |
com.google.api.Endpoint | |
getEndpointsCount()
public int getEndpointsCount()
Configuration for network endpoints. Contains only the names and aliases
of the endpoints.
repeated .google.api.Endpoint endpoints = 18;
Returns
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
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
Returns
Type | Description |
com.google.api.MonitoredResourceDescriptor | |
getMonitoredResourcesCount()
public int getMonitoredResourcesCount()
Defines the monitored resources used by this service. This is required
by the Service.monitoring and Service.logging configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;
Returns
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
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.
|
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()
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
getParserForType()
public Parser<ServiceConfig> getParserForType()
Returns
Overrides
getQuota()
Quota configuration.
.google.api.Quota quota = 10;
Returns
Type | Description |
com.google.api.Quota | The quota.
|
getQuotaOrBuilder()
public QuotaOrBuilder getQuotaOrBuilder()
Quota configuration.
.google.api.Quota quota = 10;
Returns
Type | Description |
com.google.api.QuotaOrBuilder | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;
Returns
Type | Description |
com.google.api.Usage | The usage.
|
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ServiceConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServiceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ServiceConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions