Class BatchEnableServicesResponse (2.47.0)

publicfinalclass BatchEnableServicesResponseextendsGeneratedMessageV3implementsBatchEnableServicesResponseOrBuilder

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

FAILURES_FIELD_NUMBER

publicstaticfinalintFAILURES_FIELD_NUMBER
Field Value
Type Description
int

SERVICES_FIELD_NUMBER

publicstaticfinalintSERVICES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticBatchEnableServicesResponsegetDefaultInstance()
Returns
Type Description
BatchEnableServicesResponse

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticBatchEnableServicesResponse.BuildernewBuilder()
Returns
Type Description
BatchEnableServicesResponse.Builder

newBuilder(BatchEnableServicesResponse prototype)

publicstaticBatchEnableServicesResponse.BuildernewBuilder(BatchEnableServicesResponseprototype)
Parameter
Name Description
prototype BatchEnableServicesResponse
Returns
Type Description
BatchEnableServicesResponse.Builder

parseDelimitedFrom(InputStream input)

publicstaticBatchEnableServicesResponseparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchEnableServicesResponseparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticBatchEnableServicesResponseparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchEnableServicesResponseparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticBatchEnableServicesResponseparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchEnableServicesResponseparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticBatchEnableServicesResponseparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchEnableServicesResponseparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticBatchEnableServicesResponseparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticBatchEnableServicesResponseparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticBatchEnableServicesResponseparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticBatchEnableServicesResponseparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<BatchEnableServicesResponse>parser()
Returns
Type Description
Parser<BatchEnableServicesResponse>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicBatchEnableServicesResponsegetDefaultInstanceForType()
Returns
Type Description
BatchEnableServicesResponse

getFailures(int index)

publicBatchEnableServicesResponse.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()

publicintgetFailuresCount()

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()

publicList<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)

publicBatchEnableServicesResponse.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()

publicList<?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>

getParserForType()

publicParser<BatchEnableServicesResponse>getParserForType()
Returns
Type Description
Parser<BatchEnableServicesResponse>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getServices(int index)

publicServicegetServices(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()

publicintgetServicesCount()

The new state of the services after enabling.

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

Returns
Type Description
int

getServicesList()

publicList<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)

publicServiceOrBuildergetServicesOrBuilder(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()

publicList<?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>

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicBatchEnableServicesResponse.BuildernewBuilderForType()
Returns
Type Description
BatchEnableServicesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedBatchEnableServicesResponse.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchEnableServicesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicBatchEnableServicesResponse.BuildertoBuilder()
Returns
Type Description
BatchEnableServicesResponse.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.