Class BatchEnableServicesResponse (2.54.0)

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
Type Description
int

SERVICES_FIELD_NUMBER

public static final int SERVICES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchEnableServicesResponse getDefaultInstance()
Returns
Type Description
BatchEnableServicesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchEnableServicesResponse.Builder newBuilder()
Returns
Type Description
BatchEnableServicesResponse.Builder

newBuilder(BatchEnableServicesResponse prototype)

public static BatchEnableServicesResponse.Builder newBuilder(BatchEnableServicesResponse prototype)
Parameter
Name Description
prototype BatchEnableServicesResponse
Returns
Type Description
BatchEnableServicesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchEnableServicesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchEnableServicesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchEnableServicesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchEnableServicesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchEnableServicesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchEnableServicesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchEnableServicesResponse> parser()
Returns
Type Description
Parser<BatchEnableServicesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchEnableServicesResponse getDefaultInstanceForType()
Returns
Type Description
BatchEnableServicesResponse

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
Name Description
index int
Returns
Type Description
BatchEnableServicesResponse.EnableFailure

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
Type Description
int

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
Type Description
List<EnableFailure>

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
Name Description
index int
Returns
Type Description
BatchEnableServicesResponse.EnableFailureOrBuilder

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
Type Description
Parser<BatchEnableServicesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Name Description
index int
Returns
Type Description
Service

getServicesCount()

public int getServicesCount()

The new state of the services after enabling.

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

Returns
Type Description
int

getServicesList()

public List<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)

public ServiceOrBuilder getServicesOrBuilder(int index)

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchEnableServicesResponse.Builder newBuilderForType()
Returns
Type Description
BatchEnableServicesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchEnableServicesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchEnableServicesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchEnableServicesResponse.Builder toBuilder()
Returns
Type Description
BatchEnableServicesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException