Interface GetServiceRequestOrBuilder (2.51.0)

public interface GetServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name of the consumer and service to get the ConsumerState for.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number (not project ID).

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the consumer and service to get the ConsumerState for.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number (not project ID).

string name = 1;

Returns
Type Description
ByteString

The bytes for name.