Package com.google.api.serviceusage.v1
Interface BatchGetServicesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchGetServicesRequest,BatchGetServicesRequest.Builder
public interface BatchGetServicesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNames(int index)Names of the services to retrieve.com.google.protobuf.ByteStringgetNamesBytes(int index)Names of the services to retrieve.intgetNamesCount()Names of the services to retrieve.List<String>getNamesList()Names of the services to retrieve.StringgetParent()Parent to retrieve services from.com.google.protobuf.ByteStringgetParentBytes()Parent to retrieve services from.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getNamesList
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:
- A list containing the names.
-
getNamesCount
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:
- The count of names.
-
getNames
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;- Parameters:
index- The index of the element to return.- Returns:
- The names at the given index.
-
getNamesBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the names at the given index.
-
-