Class EnableServiceResponse.Builder (2.34.0)

public static final class EnableServiceResponse.Builder extends GeneratedMessageV3.Builder<EnableServiceResponse.Builder> implements EnableServiceResponseOrBuilder

Response message for the EnableService 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.EnableServiceResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnableServiceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

build()

public EnableServiceResponse build()
Returns
TypeDescription
EnableServiceResponse

buildPartial()

public EnableServiceResponse buildPartial()
Returns
TypeDescription
EnableServiceResponse

clear()

public EnableServiceResponse.Builder clear()
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EnableServiceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EnableServiceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

clearService()

public EnableServiceResponse.Builder clearService()

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Returns
TypeDescription
EnableServiceResponse.Builder

clone()

public EnableServiceResponse.Builder clone()
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

getDefaultInstanceForType()

public EnableServiceResponse getDefaultInstanceForType()
Returns
TypeDescription
EnableServiceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getService()

public Service getService()

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Returns
TypeDescription
Service

The service.

getServiceBuilder()

public Service.Builder getServiceBuilder()

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Returns
TypeDescription
Service.Builder

getServiceOrBuilder()

public ServiceOrBuilder getServiceOrBuilder()

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Returns
TypeDescription
ServiceOrBuilder

hasService()

public boolean hasService()

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Returns
TypeDescription
boolean

Whether the service field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EnableServiceResponse other)

public EnableServiceResponse.Builder mergeFrom(EnableServiceResponse other)
Parameter
NameDescription
otherEnableServiceResponse
Returns
TypeDescription
EnableServiceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EnableServiceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EnableServiceResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

mergeService(Service value)

public EnableServiceResponse.Builder mergeService(Service value)

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Parameter
NameDescription
valueService
Returns
TypeDescription
EnableServiceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnableServiceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EnableServiceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

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

public EnableServiceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

setService(Service value)

public EnableServiceResponse.Builder setService(Service value)

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Parameter
NameDescription
valueService
Returns
TypeDescription
EnableServiceResponse.Builder

setService(Service.Builder builderForValue)

public EnableServiceResponse.Builder setService(Service.Builder builderForValue)

The new state of the service after enabling.

.google.api.serviceusage.v1.Service service = 1;

Parameter
NameDescription
builderForValueService.Builder
Returns
TypeDescription
EnableServiceResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EnableServiceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides