Interface ServiceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service,Service.Builder
@Generated
public interface ServiceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe service configuration of the available service.The service configuration of the available service.getName()The resource name of the consumer and service.com.google.protobuf.ByteStringThe resource name of the consumer and service.The resource name of the consumer.com.google.protobuf.ByteStringThe resource name of the consumer.getState()Whether or not the service has been enabled for use by the consumer.intWhether or not the service has been enabled for use by the consumer.booleanThe service configuration of the available service.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The resource name of the consumer and service. A valid name would be: - `projects/123/services/serviceusage.googleapis.com`
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The resource name of the consumer and service. A valid name would be: - `projects/123/services/serviceusage.googleapis.com`
string name = 1;- Returns:
- The bytes for name.
-
getParent
String getParent()The resource name of the consumer. A valid name would be: - `projects/123`
string parent = 5;- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()The resource name of the consumer. A valid name would be: - `projects/123`
string parent = 5;- Returns:
- The bytes for parent.
-
hasConfig
boolean hasConfig()The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1beta1.ServiceConfig config = 2;- Returns:
- Whether the config field is set.
-
getConfig
ServiceConfig getConfig()The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1beta1.ServiceConfig config = 2;- Returns:
- The config.
-
getConfigOrBuilder
ServiceConfigOrBuilder getConfigOrBuilder()The service configuration of the available service. Some fields may be filtered out of the configuration in responses to the `ListServices` method. These fields are present only in responses to the `GetService` method.
.google.api.serviceusage.v1beta1.ServiceConfig config = 2; -
getStateValue
int getStateValue()Whether or not the service has been enabled for use by the consumer.
.google.api.serviceusage.v1beta1.State state = 4;- Returns:
- The enum numeric value on the wire for state.
-
getState
State getState()Whether or not the service has been enabled for use by the consumer.
.google.api.serviceusage.v1beta1.State state = 4;- Returns:
- The state.
-