Class BatchEnableServicesResponse (2.12.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
TypeDescription
int

SERVICES_FIELD_NUMBER

public static final int SERVICES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchEnableServicesResponse getDefaultInstance()
Returns
TypeDescription
BatchEnableServicesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchEnableServicesResponse.Builder newBuilder()
Returns
TypeDescription
BatchEnableServicesResponse.Builder

newBuilder(BatchEnableServicesResponse prototype)

public static BatchEnableServicesResponse.Builder newBuilder(BatchEnableServicesResponse prototype)
Parameter
NameDescription
prototypeBatchEnableServicesResponse
Returns
TypeDescription
BatchEnableServicesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchEnableServicesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchEnableServicesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchEnableServicesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchEnableServicesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchEnableServicesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchEnableServicesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchEnableServicesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchEnableServicesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchEnableServicesResponse> parser()
Returns
TypeDescription
Parser<BatchEnableServicesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchEnableServicesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailureOrBuilder>

getParserForType()

public Parser<BatchEnableServicesResponse> getParserForType()
Returns
TypeDescription
Parser<BatchEnableServicesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Service

getServicesCount()

public int getServicesCount()

The new state of the services after enabling.

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

Returns
TypeDescription
int

getServicesList()

public List<Service> getServicesList()

The new state of the services after enabling.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ServiceOrBuilder> getServicesOrBuilderList()

The new state of the services after enabling.

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

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchEnableServicesResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchEnableServicesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchEnableServicesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchEnableServicesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchEnableServicesResponse.Builder toBuilder()
Returns
TypeDescription
BatchEnableServicesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException