Interface BatchEnableServicesRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchEnableServicesRequest
,BatchEnableServicesRequest.Builder
public interface BatchEnableServicesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Parent to enable services on.com.google.protobuf.ByteString
getParentBytes()
Parent to enable services on.String
getServiceIds(int index)
The identifiers of the services to enable on the project.com.google.protobuf.ByteString
getServiceIdsBytes(int index)
The identifiers of the services to enable on the project.int
getServiceIdsCount()
The identifiers of the services to enable on the project.List<String>
getServiceIdsList()
The identifiers of the services to enable on the project.-
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 enable services on. An example name would be: `projects/123` where `123` is the project number (not project ID). The `BatchEnableServices` method currently only supports projects.
string parent = 1;
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Parent to enable services on. An example name would be: `projects/123` where `123` is the project number (not project ID). The `BatchEnableServices` method currently only supports projects.
string parent = 1;
- Returns:
- The bytes for parent.
-
getServiceIdsList
List<String> getServiceIdsList()
The identifiers of the services to enable on the project. A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. Two or more services must be specified. To enable a single service, use the `EnableService` method instead. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
repeated string service_ids = 2;
- Returns:
- A list containing the serviceIds.
-
getServiceIdsCount
int getServiceIdsCount()
The identifiers of the services to enable on the project. A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. Two or more services must be specified. To enable a single service, use the `EnableService` method instead. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
repeated string service_ids = 2;
- Returns:
- The count of serviceIds.
-
getServiceIds
String getServiceIds(int index)
The identifiers of the services to enable on the project. A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. Two or more services must be specified. To enable a single service, use the `EnableService` method instead. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
repeated string service_ids = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The serviceIds at the given index.
-
getServiceIdsBytes
com.google.protobuf.ByteString getServiceIdsBytes(int index)
The identifiers of the services to enable on the project. A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. Two or more services must be specified. To enable a single service, use the `EnableService` method instead. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
repeated string service_ids = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the serviceIds at the given index.
-
-