Class DisableServiceResponse.Builder (2.5.0)

public static final class DisableServiceResponse.Builder extends GeneratedMessageV3.Builder<DisableServiceResponse.Builder> implements DisableServiceResponseOrBuilder

Response message for the DisableService 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.DisableServiceResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DisableServiceResponse build()
Returns
TypeDescription
DisableServiceResponse

buildPartial()

public DisableServiceResponse buildPartial()
Returns
TypeDescription
DisableServiceResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public DisableServiceResponse.Builder clearService()

The new state of the service after disabling.

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

Returns
TypeDescription
DisableServiceResponse.Builder

clone()

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

getDefaultInstanceForType()

public DisableServiceResponse getDefaultInstanceForType()
Returns
TypeDescription
DisableServiceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getService()

public Service getService()

The new state of the service after disabling.

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

Returns
TypeDescription
Service

The service.

getServiceBuilder()

public Service.Builder getServiceBuilder()

The new state of the service after disabling.

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

Returns
TypeDescription
Service.Builder

getServiceOrBuilder()

public ServiceOrBuilder getServiceOrBuilder()

The new state of the service after disabling.

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

Returns
TypeDescription
ServiceOrBuilder

hasService()

public boolean hasService()

The new state of the service after disabling.

.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(DisableServiceResponse other)

public DisableServiceResponse.Builder mergeFrom(DisableServiceResponse other)
Parameter
NameDescription
otherDisableServiceResponse
Returns
TypeDescription
DisableServiceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeService(Service value)

public DisableServiceResponse.Builder mergeService(Service value)

The new state of the service after disabling.

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

Parameter
NameDescription
valueService
Returns
TypeDescription
DisableServiceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setService(Service value)

public DisableServiceResponse.Builder setService(Service value)

The new state of the service after disabling.

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

Parameter
NameDescription
valueService
Returns
TypeDescription
DisableServiceResponse.Builder

setService(Service.Builder builderForValue)

public DisableServiceResponse.Builder setService(Service.Builder builderForValue)

The new state of the service after disabling.

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

Parameter
NameDescription
builderForValueService.Builder
Returns
TypeDescription
DisableServiceResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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