public static final class BatchEnableServicesResponse.EnableFailure.Builder extends GeneratedMessage.Builder<BatchEnableServicesResponse.EnableFailure.Builder> implements BatchEnableServicesResponse.EnableFailureOrBuilderProvides error messages for the failing services.
Protobuf type google.api.serviceusage.v1.BatchEnableServicesResponse.EnableFailure
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchEnableServicesResponse.EnableFailure.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchEnableServicesResponse.EnableFailure build()| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure |
|
buildPartial()
public BatchEnableServicesResponse.EnableFailure buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure |
|
clear()
public BatchEnableServicesResponse.EnableFailure.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
|
clearErrorMessage()
public BatchEnableServicesResponse.EnableFailure.Builder clearErrorMessage()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. |
clearServiceId()
public BatchEnableServicesResponse.EnableFailure.Builder clearServiceId()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. |
getDefaultInstanceForType()
public BatchEnableServicesResponse.EnableFailure getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorMessage()
public String getErrorMessage()An error message describing why the service could not be enabled.
string error_message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The errorMessage. |
getErrorMessageBytes()
public ByteString getErrorMessageBytes()An error message describing why the service could not be enabled.
string error_message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorMessage. |
getServiceId()
public String getServiceId()The service id of a service that could not be enabled.
string service_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceId. |
getServiceIdBytes()
public ByteString getServiceIdBytes()The service id of a service that could not be enabled.
string service_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchEnableServicesResponse.EnableFailure other)
public BatchEnableServicesResponse.EnableFailure.Builder mergeFrom(BatchEnableServicesResponse.EnableFailure other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchEnableServicesResponse.EnableFailure |
| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchEnableServicesResponse.EnableFailure.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchEnableServicesResponse.EnableFailure.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
|
setErrorMessage(String value)
public BatchEnableServicesResponse.EnableFailure.Builder setErrorMessage(String value)An error message describing why the service could not be enabled.
string error_message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorMessage to set. |
| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
This builder for chaining. |
setErrorMessageBytes(ByteString value)
public BatchEnableServicesResponse.EnableFailure.Builder setErrorMessageBytes(ByteString value)An error message describing why the service could not be enabled.
string error_message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for errorMessage to set. |
| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
This builder for chaining. |
setServiceId(String value)
public BatchEnableServicesResponse.EnableFailure.Builder setServiceId(String value)The service id of a service that could not be enabled.
string service_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceId to set. |
| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
This builder for chaining. |
setServiceIdBytes(ByteString value)
public BatchEnableServicesResponse.EnableFailure.Builder setServiceIdBytes(ByteString value)The service id of a service that could not be enabled.
string service_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceId to set. |
| Returns | |
|---|---|
| Type | Description |
BatchEnableServicesResponse.EnableFailure.Builder |
This builder for chaining. |