Interface BatchEnableServicesResponseOrBuilder (2.42.0)

publicinterface BatchEnableServicesResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getFailures(int index)

publicabstractBatchEnableServicesResponse.EnableFailuregetFailures(intindex)

If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.

repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchEnableServicesResponse.EnableFailure

getFailuresCount()

publicabstractintgetFailuresCount()

If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.

repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;

Returns
Type Description
int

getFailuresList()

publicabstractList<BatchEnableServicesResponse.EnableFailure>getFailuresList()

If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.

repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;

Returns
Type Description
List<EnableFailure>

getFailuresOrBuilder(int index)

publicabstractBatchEnableServicesResponse.EnableFailureOrBuildergetFailuresOrBuilder(intindex)

If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.

repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;

Parameter
Name Description
index int
Returns
Type Description
BatchEnableServicesResponse.EnableFailureOrBuilder

getFailuresOrBuilderList()

publicabstractList<?extendsBatchEnableServicesResponse.EnableFailureOrBuilder>getFailuresOrBuilderList()

If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.

repeated .google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure failures = 2;

Returns
Type Description
List<? extends com.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailureOrBuilder>

getServices(int index)

publicabstractServicegetServices(intindex)

The new state of the services after enabling.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
Name Description
index int
Returns
Type Description
Service

getServicesCount()

publicabstractintgetServicesCount()

The new state of the services after enabling.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
Type Description
int

getServicesList()

publicabstractList<Service>getServicesList()

The new state of the services after enabling.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
Type Description
List<Service>

getServicesOrBuilder(int index)

publicabstractServiceOrBuildergetServicesOrBuilder(intindex)

The new state of the services after enabling.

repeated .google.api.serviceusage.v1.Service services = 1;

Parameter
Name Description
index int
Returns
Type Description
ServiceOrBuilder

getServicesOrBuilderList()

publicabstractList<?extendsServiceOrBuilder>getServicesOrBuilderList()

The new state of the services after enabling.

repeated .google.api.serviceusage.v1.Service services = 1;

Returns
Type Description
List<? extends com.google.api.serviceusage.v1.ServiceOrBuilder>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.