public final class ServiceConfig extends com.google.protobuf.GeneratedMessageV3 implements ServiceConfigOrBuilder
The configuration of the service.Protobuf type
google.api.serviceusage.v1.ServiceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceConfig.Builder
The configuration of the service.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APIS_FIELD_NUMBER |
static int |
AUTHENTICATION_FIELD_NUMBER |
static int |
DOCUMENTATION_FIELD_NUMBER |
static int |
ENDPOINTS_FIELD_NUMBER |
static int |
MONITORED_RESOURCES_FIELD_NUMBER |
static int |
MONITORING_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
QUOTA_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
static int |
USAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Api |
getApis(int index)
A list of API interfaces exported by this service.
|
int |
getApisCount()
A list of API interfaces exported by this service.
|
List<com.google.protobuf.Api> |
getApisList()
A list of API interfaces exported by this service.
|
com.google.protobuf.ApiOrBuilder |
getApisOrBuilder(int index)
A list of API interfaces exported by this service.
|
List<? extends com.google.protobuf.ApiOrBuilder> |
getApisOrBuilderList()
A list of API interfaces exported by this service.
|
com.google.api.Authentication |
getAuthentication()
Auth configuration.
|
com.google.api.AuthenticationOrBuilder |
getAuthenticationOrBuilder()
Auth configuration.
|
static ServiceConfig |
getDefaultInstance() |
ServiceConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.api.Documentation |
getDocumentation()
Additional API documentation.
|
com.google.api.DocumentationOrBuilder |
getDocumentationOrBuilder()
Additional API documentation.
|
com.google.api.Endpoint |
getEndpoints(int index)
Configuration for network endpoints.
|
int |
getEndpointsCount()
Configuration for network endpoints.
|
List<com.google.api.Endpoint> |
getEndpointsList()
Configuration for network endpoints.
|
com.google.api.EndpointOrBuilder |
getEndpointsOrBuilder(int index)
Configuration for network endpoints.
|
List<? extends com.google.api.EndpointOrBuilder> |
getEndpointsOrBuilderList()
Configuration for network endpoints.
|
com.google.api.MonitoredResourceDescriptor |
getMonitoredResources(int index)
Defines the monitored resources used by this service.
|
int |
getMonitoredResourcesCount()
Defines the monitored resources used by this service.
|
List<com.google.api.MonitoredResourceDescriptor> |
getMonitoredResourcesList()
Defines the monitored resources used by this service.
|
com.google.api.MonitoredResourceDescriptorOrBuilder |
getMonitoredResourcesOrBuilder(int index)
Defines the monitored resources used by this service.
|
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder> |
getMonitoredResourcesOrBuilderList()
Defines the monitored resources used by this service.
|
com.google.api.Monitoring |
getMonitoring()
Monitoring configuration.
|
com.google.api.MonitoringOrBuilder |
getMonitoringOrBuilder()
Monitoring configuration.
|
String |
getName()
The DNS address at which this service is available.
|
com.google.protobuf.ByteString |
getNameBytes()
The DNS address at which this service is available.
|
com.google.protobuf.Parser<ServiceConfig> |
getParserForType() |
com.google.api.Quota |
getQuota()
Quota configuration.
|
com.google.api.QuotaOrBuilder |
getQuotaOrBuilder()
Quota configuration.
|
int |
getSerializedSize() |
String |
getTitle()
The product title for this service.
|
com.google.protobuf.ByteString |
getTitleBytes()
The product title for this service.
|
com.google.api.Usage |
getUsage()
Configuration controlling usage of this service.
|
com.google.api.UsageOrBuilder |
getUsageOrBuilder()
Configuration controlling usage of this service.
|
boolean |
hasAuthentication()
Auth configuration.
|
boolean |
hasDocumentation()
Additional API documentation.
|
int |
hashCode() |
boolean |
hasMonitoring()
Monitoring configuration.
|
boolean |
hasQuota()
Quota configuration.
|
boolean |
hasUsage()
Configuration controlling usage of this service.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServiceConfig.Builder |
newBuilder() |
static ServiceConfig.Builder |
newBuilder(ServiceConfig prototype) |
ServiceConfig.Builder |
newBuilderForType() |
protected ServiceConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ServiceConfig |
parseDelimitedFrom(InputStream input) |
static ServiceConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig |
parseFrom(byte[] data) |
static ServiceConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig |
parseFrom(ByteBuffer data) |
static ServiceConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ServiceConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ServiceConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ServiceConfig |
parseFrom(InputStream input) |
static ServiceConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ServiceConfig> |
parser() |
ServiceConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER
public static final int AUTHENTICATION_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
public static final int MONITORED_RESOURCES_FIELD_NUMBER
public static final int MONITORING_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The DNS address at which this service is available. An example DNS address would be: `calendar.googleapis.com`.
string name = 1;getName in interface ServiceConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The DNS address at which this service is available. An example DNS address would be: `calendar.googleapis.com`.
string name = 1;getNameBytes in interface ServiceConfigOrBuilderpublic String getTitle()
The product title for this service.
string title = 2;getTitle in interface ServiceConfigOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
The product title for this service.
string title = 2;getTitleBytes in interface ServiceConfigOrBuilderpublic List<com.google.protobuf.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;getApisList in interface ServiceConfigOrBuilderpublic List<? extends com.google.protobuf.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;getApisOrBuilderList in interface ServiceConfigOrBuilderpublic 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;getApisCount in interface ServiceConfigOrBuilderpublic com.google.protobuf.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;getApis in interface ServiceConfigOrBuilderpublic com.google.protobuf.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;getApisOrBuilder in interface ServiceConfigOrBuilderpublic boolean hasDocumentation()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;hasDocumentation in interface ServiceConfigOrBuilderpublic com.google.api.Documentation getDocumentation()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;getDocumentation in interface ServiceConfigOrBuilderpublic com.google.api.DocumentationOrBuilder getDocumentationOrBuilder()
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;getDocumentationOrBuilder in interface ServiceConfigOrBuilderpublic boolean hasQuota()
Quota configuration.
.google.api.Quota quota = 10;hasQuota in interface ServiceConfigOrBuilderpublic com.google.api.Quota getQuota()
Quota configuration.
.google.api.Quota quota = 10;getQuota in interface ServiceConfigOrBuilderpublic com.google.api.QuotaOrBuilder getQuotaOrBuilder()
Quota configuration.
.google.api.Quota quota = 10;getQuotaOrBuilder in interface ServiceConfigOrBuilderpublic boolean hasAuthentication()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;hasAuthentication in interface ServiceConfigOrBuilderpublic com.google.api.Authentication getAuthentication()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;getAuthentication in interface ServiceConfigOrBuilderpublic com.google.api.AuthenticationOrBuilder getAuthenticationOrBuilder()
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;getAuthenticationOrBuilder in interface ServiceConfigOrBuilderpublic boolean hasUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;hasUsage in interface ServiceConfigOrBuilderpublic com.google.api.Usage getUsage()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;getUsage in interface ServiceConfigOrBuilderpublic com.google.api.UsageOrBuilder getUsageOrBuilder()
Configuration controlling usage of this service.
.google.api.Usage usage = 15;getUsageOrBuilder in interface ServiceConfigOrBuilderpublic List<com.google.api.Endpoint> getEndpointsList()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;getEndpointsList in interface ServiceConfigOrBuilderpublic List<? extends com.google.api.EndpointOrBuilder> getEndpointsOrBuilderList()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;getEndpointsOrBuilderList in interface ServiceConfigOrBuilderpublic int getEndpointsCount()
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;getEndpointsCount in interface ServiceConfigOrBuilderpublic com.google.api.Endpoint getEndpoints(int index)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;getEndpoints in interface ServiceConfigOrBuilderpublic com.google.api.EndpointOrBuilder getEndpointsOrBuilder(int index)
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;getEndpointsOrBuilder in interface ServiceConfigOrBuilderpublic List<com.google.api.MonitoredResourceDescriptor> getMonitoredResourcesList()
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;getMonitoredResourcesList in interface ServiceConfigOrBuilderpublic List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder> getMonitoredResourcesOrBuilderList()
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;getMonitoredResourcesOrBuilderList in interface ServiceConfigOrBuilderpublic int getMonitoredResourcesCount()
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;getMonitoredResourcesCount in interface ServiceConfigOrBuilderpublic com.google.api.MonitoredResourceDescriptor getMonitoredResources(int index)
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;getMonitoredResources in interface ServiceConfigOrBuilderpublic com.google.api.MonitoredResourceDescriptorOrBuilder getMonitoredResourcesOrBuilder(int index)
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;getMonitoredResourcesOrBuilder in interface ServiceConfigOrBuilderpublic boolean hasMonitoring()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;hasMonitoring in interface ServiceConfigOrBuilderpublic com.google.api.Monitoring getMonitoring()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;getMonitoring in interface ServiceConfigOrBuilderpublic com.google.api.MonitoringOrBuilder getMonitoringOrBuilder()
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;getMonitoringOrBuilder in interface ServiceConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ServiceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServiceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServiceConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServiceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServiceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServiceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServiceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServiceConfig.Builder newBuilder()
public static ServiceConfig.Builder newBuilder(ServiceConfig prototype)
public ServiceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServiceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServiceConfig getDefaultInstance()
public static com.google.protobuf.Parser<ServiceConfig> parser()
public com.google.protobuf.Parser<ServiceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ServiceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.