public final class ServiceConfig extends GeneratedMessageV3 implements ServiceConfigOrBuilder
The configuration of the service.
Protobuf type google.api.serviceusage.v1beta1.ServiceConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
APIS_FIELD_NUMBER
public static final int APIS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
AUTHENTICATION_FIELD_NUMBER
public static final int AUTHENTICATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DOCUMENTATION_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENDPOINTS_FIELD_NUMBER
public static final int ENDPOINTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MONITORED_RESOURCES_FIELD_NUMBER
public static final int MONITORED_RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MONITORING_FIELD_NUMBER
public static final int MONITORING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
QUOTA_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ServiceConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServiceConfig.Builder newBuilder()
newBuilder(ServiceConfig prototype)
public static ServiceConfig.Builder newBuilder(ServiceConfig prototype)
public static ServiceConfig parseDelimitedFrom(InputStream input)
public static ServiceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServiceConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServiceConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(CodedInputStream input)
public static ServiceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(InputStream input)
public static ServiceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServiceConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServiceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServiceConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Api | |
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;
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
|
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()
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 |
---|
Name | Description |
index | int
|
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 |
---|
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 | |
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.
|
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<ServiceConfig> getParserForType()
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 |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for title.
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServiceConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServiceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ServiceConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides