Interface BatchGetServicesRequestOrBuilder (2.55.0)

public interface BatchGetServicesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNames(int index)

public abstract String getNames(int index)

Names of the services to retrieve.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

repeated string names = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The names at the given index.

getNamesBytes(int index)

public abstract ByteString getNamesBytes(int index)

Names of the services to retrieve.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

repeated string names = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the names at the given index.

getNamesCount()

public abstract int getNamesCount()

Names of the services to retrieve.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

repeated string names = 2;

Returns
Type Description
int

The count of names.

getNamesList()

public abstract List<String> getNamesList()

Names of the services to retrieve.

An example name would be: projects/123/services/serviceusage.googleapis.com where 123 is the project number. A single request can get a maximum of 30 services at a time.

repeated string names = 2;

Returns
Type Description
List<String>

A list containing the names.

getParent()

public abstract String getParent()

Parent to retrieve services from. If this is set, the parent of all of the services specified in names must match this field. An example name would be: projects/123 where 123 is the project number. The BatchGetServices method currently only supports projects.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Parent to retrieve services from. If this is set, the parent of all of the services specified in names must match this field. An example name would be: projects/123 where 123 is the project number. The BatchGetServices method currently only supports projects.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.