Class ServiceConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.serviceusage.v1beta1.ServiceConfig
- All Implemented Interfaces:
ServiceConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ServiceConfig
extends com.google.protobuf.GeneratedMessage
implements ServiceConfigOrBuilder
The configuration of the service.Protobuf type
google.api.serviceusage.v1beta1.ServiceConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe configuration of the service.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.ApigetApis(int index) A list of API interfaces exported by this service.intA list of API interfaces exported by this service.List<com.google.protobuf.Api>A list of API interfaces exported by this service.com.google.protobuf.ApiOrBuildergetApisOrBuilder(int index) A list of API interfaces exported by this service.List<? extends com.google.protobuf.ApiOrBuilder>A list of API interfaces exported by this service.Auth configuration.Auth configuration.static ServiceConfigstatic final com.google.protobuf.Descriptors.DescriptorAdditional API documentation.Additional API documentation.getEndpoints(int index) Configuration for network endpoints.intConfiguration for network endpoints.Configuration for network endpoints.getEndpointsOrBuilder(int index) Configuration for network endpoints.List<? extends EndpointOrBuilder>Configuration for network endpoints.getMonitoredResources(int index) Defines the monitored resources used by this service.intDefines the monitored resources used by this service.Defines the monitored resources used by this service.getMonitoredResourcesOrBuilder(int index) Defines the monitored resources used by this service.List<? extends MonitoredResourceDescriptorOrBuilder>Defines the monitored resources used by this service.Monitoring configuration.Monitoring configuration.getName()The DNS address at which this service is available.com.google.protobuf.ByteStringThe DNS address at which this service is available.com.google.protobuf.Parser<ServiceConfig>getQuota()Quota configuration.Quota configuration.intgetTitle()The product title for this service.com.google.protobuf.ByteStringThe product title for this service.getUsage()Configuration controlling usage of this service.Configuration controlling usage of this service.booleanAuth configuration.booleanAdditional API documentation.inthashCode()booleanMonitoring configuration.booleanhasQuota()Quota configuration.booleanhasUsage()Configuration controlling usage of this service.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ServiceConfig.Builderstatic ServiceConfig.BuildernewBuilder(ServiceConfig prototype) protected ServiceConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ServiceConfigparseDelimitedFrom(InputStream input) static ServiceConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceConfigparseFrom(byte[] data) static ServiceConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceConfigparseFrom(com.google.protobuf.ByteString data) static ServiceConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceConfigparseFrom(com.google.protobuf.CodedInputStream input) static ServiceConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceConfigparseFrom(InputStream input) static ServiceConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceConfigparseFrom(ByteBuffer data) static ServiceConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServiceConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER- See Also:
-
APIS_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER- See Also:
-
DOCUMENTATION_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER- See Also:
-
QUOTA_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER- See Also:
-
AUTHENTICATION_FIELD_NUMBER
public static final int AUTHENTICATION_FIELD_NUMBER- See Also:
-
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER- See Also:
-
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER- See Also:
-
MONITORED_RESOURCES_FIELD_NUMBER
public static final int MONITORED_RESOURCES_FIELD_NUMBER- See Also:
-
MONITORING_FIELD_NUMBER
public static final int MONITORING_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
The DNS address at which this service is available. An example DNS address would be: `calendar.googleapis.com`.
string name = 1;- Specified by:
getNamein interfaceServiceConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceServiceConfigOrBuilder- Returns:
- The bytes for name.
-
getTitle
The product title for this service.
string title = 2;- Specified by:
getTitlein interfaceServiceConfigOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()The product title for this service.
string title = 2;- Specified by:
getTitleBytesin interfaceServiceConfigOrBuilder- Returns:
- The bytes for title.
-
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;- Specified by:
getApisListin interfaceServiceConfigOrBuilder
-
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;- Specified by:
getApisOrBuilderListin interfaceServiceConfigOrBuilder
-
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;- Specified by:
getApisCountin interfaceServiceConfigOrBuilder
-
getApis
public 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;- Specified by:
getApisin interfaceServiceConfigOrBuilder
-
getApisOrBuilder
public 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;- Specified by:
getApisOrBuilderin interfaceServiceConfigOrBuilder
-
hasDocumentation
public boolean hasDocumentation()Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;- Specified by:
hasDocumentationin interfaceServiceConfigOrBuilder- Returns:
- Whether the documentation field is set.
-
getDocumentation
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;- Specified by:
getDocumentationin interfaceServiceConfigOrBuilder- Returns:
- The documentation.
-
getDocumentationOrBuilder
Additional API documentation. Contains only the summary and the documentation URL.
.google.api.Documentation documentation = 6;- Specified by:
getDocumentationOrBuilderin interfaceServiceConfigOrBuilder
-
hasQuota
public boolean hasQuota()Quota configuration.
.google.api.Quota quota = 10;- Specified by:
hasQuotain interfaceServiceConfigOrBuilder- Returns:
- Whether the quota field is set.
-
getQuota
Quota configuration.
.google.api.Quota quota = 10;- Specified by:
getQuotain interfaceServiceConfigOrBuilder- Returns:
- The quota.
-
getQuotaOrBuilder
Quota configuration.
.google.api.Quota quota = 10;- Specified by:
getQuotaOrBuilderin interfaceServiceConfigOrBuilder
-
hasAuthentication
public boolean hasAuthentication()Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;- Specified by:
hasAuthenticationin interfaceServiceConfigOrBuilder- Returns:
- Whether the authentication field is set.
-
getAuthentication
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;- Specified by:
getAuthenticationin interfaceServiceConfigOrBuilder- Returns:
- The authentication.
-
getAuthenticationOrBuilder
Auth configuration. Contains only the OAuth rules.
.google.api.Authentication authentication = 11;- Specified by:
getAuthenticationOrBuilderin interfaceServiceConfigOrBuilder
-
hasUsage
public boolean hasUsage()Configuration controlling usage of this service.
.google.api.Usage usage = 15;- Specified by:
hasUsagein interfaceServiceConfigOrBuilder- Returns:
- Whether the usage field is set.
-
getUsage
Configuration controlling usage of this service.
.google.api.Usage usage = 15;- Specified by:
getUsagein interfaceServiceConfigOrBuilder- Returns:
- The usage.
-
getUsageOrBuilder
Configuration controlling usage of this service.
.google.api.Usage usage = 15;- Specified by:
getUsageOrBuilderin interfaceServiceConfigOrBuilder
-
getEndpointsList
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;- Specified by:
getEndpointsListin interfaceServiceConfigOrBuilder
-
getEndpointsOrBuilderList
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;- Specified by:
getEndpointsOrBuilderListin interfaceServiceConfigOrBuilder
-
getEndpointsCount
public int getEndpointsCount()Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;- Specified by:
getEndpointsCountin interfaceServiceConfigOrBuilder
-
getEndpoints
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;- Specified by:
getEndpointsin interfaceServiceConfigOrBuilder
-
getEndpointsOrBuilder
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
repeated .google.api.Endpoint endpoints = 18;- Specified by:
getEndpointsOrBuilderin interfaceServiceConfigOrBuilder
-
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;- Specified by:
getMonitoredResourcesListin interfaceServiceConfigOrBuilder
-
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;- Specified by:
getMonitoredResourcesOrBuilderListin interfaceServiceConfigOrBuilder
-
getMonitoredResourcesCount
public 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;- Specified by:
getMonitoredResourcesCountin interfaceServiceConfigOrBuilder
-
getMonitoredResources
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;- Specified by:
getMonitoredResourcesin interfaceServiceConfigOrBuilder
-
getMonitoredResourcesOrBuilder
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;- Specified by:
getMonitoredResourcesOrBuilderin interfaceServiceConfigOrBuilder
-
hasMonitoring
public boolean hasMonitoring()Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;- Specified by:
hasMonitoringin interfaceServiceConfigOrBuilder- Returns:
- Whether the monitoring field is set.
-
getMonitoring
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;- Specified by:
getMonitoringin interfaceServiceConfigOrBuilder- Returns:
- The monitoring.
-
getMonitoringOrBuilder
Monitoring configuration. This should not include the 'producer_destinations' field.
.google.api.Monitoring monitoring = 28;- Specified by:
getMonitoringOrBuilderin interfaceServiceConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ServiceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServiceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServiceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ServiceConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-