public final class BatchEnableServicesResponse extends GeneratedMessageV3 implements BatchEnableServicesResponseOrBuilder
Response message for the BatchEnableServices
method.
This response message is assigned to the response
field of the returned
Operation when that operation is done.
Protobuf type google.api.serviceusage.v1.BatchEnableServicesResponse
Static Fields
FAILURES_FIELD_NUMBER
public static final int FAILURES_FIELD_NUMBER
Field Value
SERVICES_FIELD_NUMBER
public static final int SERVICES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchEnableServicesResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchEnableServicesResponse.Builder newBuilder()
Returns
newBuilder(BatchEnableServicesResponse prototype)
public static BatchEnableServicesResponse.Builder newBuilder(BatchEnableServicesResponse prototype)
Parameter
Returns
public static BatchEnableServicesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchEnableServicesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchEnableServicesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchEnableServicesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchEnableServicesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchEnableServicesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchEnableServicesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchEnableServicesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchEnableServicesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchEnableServicesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchEnableServicesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchEnableServicesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchEnableServicesResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchEnableServicesResponse getDefaultInstanceForType()
Returns
getFailures(int index)
public BatchEnableServicesResponse.EnableFailure getFailures(int index)
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
Returns
getFailuresCount()
public int getFailuresCount()
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
getFailuresList()
public List<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
getFailuresOrBuilder(int index)
public BatchEnableServicesResponse.EnableFailureOrBuilder getFailuresOrBuilder(int index)
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
Returns
getFailuresOrBuilderList()
public List<? extends BatchEnableServicesResponse.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> | |
getParserForType()
public Parser<BatchEnableServicesResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getServices(int index)
public Service getServices(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter
Returns
getServicesCount()
public int getServicesCount()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns
getServicesList()
public List<Service> getServicesList()
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Returns
getServicesOrBuilder(int index)
public ServiceOrBuilder getServicesOrBuilder(int index)
The new state of the services after enabling.
repeated .google.api.serviceusage.v1.Service services = 1;
Parameter
Returns
getServicesOrBuilderList()
public List<? extends ServiceOrBuilder> 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> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchEnableServicesResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchEnableServicesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchEnableServicesResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions