Class EnableServiceResponse (2.55.0)

public final class EnableServiceResponse extends GeneratedMessageV3 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 Fields

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EnableServiceResponse getDefaultInstance()
Returns
Type Description
EnableServiceResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static EnableServiceResponse.Builder newBuilder()
Returns
Type Description
EnableServiceResponse.Builder

newBuilder(EnableServiceResponse prototype)

public static EnableServiceResponse.Builder newBuilder(EnableServiceResponse prototype)
Parameter
Name Description
prototype EnableServiceResponse
Returns
Type Description
EnableServiceResponse.Builder

parseDelimitedFrom(InputStream input)

public static EnableServiceResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static EnableServiceResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnableServiceResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnableServiceResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static EnableServiceResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static EnableServiceResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EnableServiceResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<EnableServiceResponse> parser()
Returns
Type Description
Parser<EnableServiceResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public EnableServiceResponse getDefaultInstanceForType()
Returns
Type Description
EnableServiceResponse

getParserForType()

public Parser<EnableServiceResponse> getParserForType()
Returns
Type Description
Parser<EnableServiceResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public EnableServiceResponse.Builder newBuilderForType()
Returns
Type Description
EnableServiceResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnableServiceResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EnableServiceResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public EnableServiceResponse.Builder toBuilder()
Returns
Type Description
EnableServiceResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException