Class BatchEnableServicesResponse.EnableFailure (2.39.0)

public static final class BatchEnableServicesResponse.EnableFailure extends GeneratedMessageV3 implements BatchEnableServicesResponse.EnableFailureOrBuilder

Provides error messages for the failing services.

Protobuf type google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchEnableServicesResponse.EnableFailure

Static Fields

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ID_FIELD_NUMBER

public static final int SERVICE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchEnableServicesResponse.EnableFailure getDefaultInstance()
Returns
TypeDescription
BatchEnableServicesResponse.EnableFailure

getDescriptor()

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

newBuilder()

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

newBuilder(BatchEnableServicesResponse.EnableFailure prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchEnableServicesResponse.EnableFailure getDefaultInstanceForType()
Returns
TypeDescription
BatchEnableServicesResponse.EnableFailure

getErrorMessage()

public String getErrorMessage()

An error message describing why the service could not be enabled.

string error_message = 2;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

An error message describing why the service could not be enabled.

string error_message = 2;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceId()

public String getServiceId()

The service id of a service that could not be enabled.

string service_id = 1;

Returns
TypeDescription
String

The serviceId.

getServiceIdBytes()

public ByteString getServiceIdBytes()

The service id of a service that could not be enabled.

string service_id = 1;

Returns
TypeDescription
ByteString

The bytes for serviceId.

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.EnableFailure.Builder newBuilderForType()
Returns
TypeDescription
BatchEnableServicesResponse.EnableFailure.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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