Class BatchEnableServicesResponse.EnableFailure.Builder (2.57.0)

publicstaticfinalclass BatchEnableServicesResponse.EnableFailure.BuilderextendsGeneratedMessageV3.Builder<BatchEnableServicesResponse.EnableFailure.Builder>implementsBatchEnableServicesResponse.EnableFailureOrBuilder

Provides error messages for the failing services.

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicBatchEnableServicesResponse.EnableFailure.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

build()

publicBatchEnableServicesResponse.EnableFailurebuild()
Returns
Type Description
BatchEnableServicesResponse.EnableFailure

buildPartial()

publicBatchEnableServicesResponse.EnableFailurebuildPartial()
Returns
Type Description
BatchEnableServicesResponse.EnableFailure

clear()

publicBatchEnableServicesResponse.EnableFailure.Builderclear()
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

clearErrorMessage()

publicBatchEnableServicesResponse.EnableFailure.BuilderclearErrorMessage()

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

string error_message = 2;

Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicBatchEnableServicesResponse.EnableFailure.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicBatchEnableServicesResponse.EnableFailure.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

clearServiceId()

publicBatchEnableServicesResponse.EnableFailure.BuilderclearServiceId()

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

string service_id = 1;

Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder

This builder for chaining.

clone()

publicBatchEnableServicesResponse.EnableFailure.Builderclone()
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

getDefaultInstanceForType()

publicBatchEnableServicesResponse.EnableFailuregetDefaultInstanceForType()
Returns
Type Description
BatchEnableServicesResponse.EnableFailure

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrorMessage()

publicStringgetErrorMessage()

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

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

publicByteStringgetErrorMessageBytes()

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

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

getServiceId()

publicStringgetServiceId()

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

string service_id = 1;

Returns
Type Description
String

The serviceId.

getServiceIdBytes()

publicByteStringgetServiceIdBytes()

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

string service_id = 1;

Returns
Type Description
ByteString

The bytes for serviceId.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchEnableServicesResponse.EnableFailure other)

publicBatchEnableServicesResponse.EnableFailure.BuildermergeFrom(BatchEnableServicesResponse.EnableFailureother)
Parameter
Name Description
other BatchEnableServicesResponse.EnableFailure
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicBatchEnableServicesResponse.EnableFailure.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicBatchEnableServicesResponse.EnableFailure.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalBatchEnableServicesResponse.EnableFailure.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

setErrorMessage(String value)

publicBatchEnableServicesResponse.EnableFailure.BuildersetErrorMessage(Stringvalue)

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

string error_message = 2;

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

publicBatchEnableServicesResponse.EnableFailure.BuildersetErrorMessageBytes(ByteStringvalue)

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

string error_message = 2;

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicBatchEnableServicesResponse.EnableFailure.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicBatchEnableServicesResponse.EnableFailure.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

setServiceId(String value)

publicBatchEnableServicesResponse.EnableFailure.BuildersetServiceId(Stringvalue)

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

string service_id = 1;

Parameter
Name Description
value String

The serviceId to set.

Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder

This builder for chaining.

setServiceIdBytes(ByteString value)

publicBatchEnableServicesResponse.EnableFailure.BuildersetServiceIdBytes(ByteStringvalue)

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

string service_id = 1;

Parameter
Name Description
value ByteString

The bytes for serviceId to set.

Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalBatchEnableServicesResponse.EnableFailure.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchEnableServicesResponse.EnableFailure.Builder
Overrides

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.