Class EnableServiceResponse.Builder (2.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EnableServiceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnableServiceResponse.Builder
Overrides

build()

public EnableServiceResponse build()
Returns
Type Description
EnableServiceResponse

buildPartial()

public EnableServiceResponse buildPartial()
Returns
Type Description
EnableServiceResponse

clear()

public EnableServiceResponse.Builder clear()
Returns
Type Description
EnableServiceResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EnableServiceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EnableServiceResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EnableServiceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EnableServiceResponse.Builder
Overrides

clearService()

public EnableServiceResponse.Builder clearService()

The new state of the service after enabling.

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

Returns
Type Description
EnableServiceResponse.Builder

clone()

public EnableServiceResponse.Builder clone()
Returns
Type Description
EnableServiceResponse.Builder
Overrides

getDefaultInstanceForType()

public EnableServiceResponse getDefaultInstanceForType()
Returns
Type Description
EnableServiceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getService()

public Service getService()

The new state of the service after enabling.

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

Returns
Type Description
Service

The service.

getServiceBuilder()

public Service.Builder getServiceBuilder()

The new state of the service after enabling.

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

Returns
Type Description
Service.Builder

getServiceOrBuilder()

public ServiceOrBuilder getServiceOrBuilder()

The new state of the service after enabling.

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

Returns
Type Description
ServiceOrBuilder

hasService()

public boolean hasService()

The new state of the service after enabling.

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

Returns
Type Description
boolean

Whether the service field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EnableServiceResponse other)

public EnableServiceResponse.Builder mergeFrom(EnableServiceResponse other)
Parameter
Name Description
other EnableServiceResponse
Returns
Type Description
EnableServiceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EnableServiceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnableServiceResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EnableServiceResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Service
Returns
Type Description
EnableServiceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EnableServiceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnableServiceResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EnableServiceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EnableServiceResponse.Builder
Overrides

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

public EnableServiceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Service
Returns
Type Description
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
Name Description
builderForValue Service.Builder
Returns
Type Description
EnableServiceResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EnableServiceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EnableServiceResponse.Builder
Overrides