Interface GetServiceRequestOrBuilder (2.40.0)

public interface GetServiceRequestOrBuilder extends 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.

string name = 1;

Returns
TypeDescription
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.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.