Class EnableServiceResponse (2.5.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static EnableServiceResponse getDefaultInstance()
Returns
TypeDescription
EnableServiceResponse

getDescriptor()

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

newBuilder()

public static EnableServiceResponse.Builder newBuilder()
Returns
TypeDescription
EnableServiceResponse.Builder

newBuilder(EnableServiceResponse prototype)

public static EnableServiceResponse.Builder newBuilder(EnableServiceResponse prototype)
Parameter
NameDescription
prototypeEnableServiceResponse
Returns
TypeDescription
EnableServiceResponse.Builder

parseDelimitedFrom(InputStream input)

public static EnableServiceResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EnableServiceResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EnableServiceResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EnableServiceResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EnableServiceResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EnableServiceResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EnableServiceResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EnableServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EnableServiceResponse> parser()
Returns
TypeDescription
Parser<EnableServiceResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EnableServiceResponse getDefaultInstanceForType()
Returns
TypeDescription
EnableServiceResponse

getParserForType()

public Parser<EnableServiceResponse> getParserForType()
Returns
TypeDescription
Parser<EnableServiceResponse>
Overrides

getSerializedSize()

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

getServiceOrBuilder()

public ServiceOrBuilder getServiceOrBuilder()

The new state of the service after enabling.

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

Returns
TypeDescription
ServiceOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EnableServiceResponse.Builder newBuilderForType()
Returns
TypeDescription
EnableServiceResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EnableServiceResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EnableServiceResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EnableServiceResponse.Builder toBuilder()
Returns
TypeDescription
EnableServiceResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException