Interface ServiceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service
,Service.Builder
public interface ServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceConfig
getConfig()
The service configuration of the available service.ServiceConfigOrBuilder
getConfigOrBuilder()
The service configuration of the available service.String
getName()
The resource name of the consumer and service.com.google.protobuf.ByteString
getNameBytes()
The resource name of the consumer and service.String
getParent()
The resource name of the consumer.com.google.protobuf.ByteString
getParentBytes()
The resource name of the consumer.State
getState()
Whether or not the service has been enabled for use by the consumer.int
getStateValue()
Whether or not the service has been enabled for use by the consumer.boolean
hasConfig()
The service configuration of the available service.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-