Class ManagedService (3.45.0)

public final class ManagedService extends GeneratedMessageV3 implements ManagedServiceOrBuilder

The full representation of a Service that is managed by Google Service Management.

Protobuf type google.api.servicemanagement.v1.ManagedService

Static Fields

PRODUCER_PROJECT_ID_FIELD_NUMBER

public static final int PRODUCER_PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ManagedService getDefaultInstance()
Returns
Type Description
ManagedService

getDescriptor()

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

newBuilder()

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

newBuilder(ManagedService prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ManagedService getDefaultInstanceForType()
Returns
Type Description
ManagedService

getParserForType()

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

getProducerProjectId()

public String getProducerProjectId()

ID of the project that produces and owns this service.

string producer_project_id = 3;

Returns
Type Description
String

The producerProjectId.

getProducerProjectIdBytes()

public ByteString getProducerProjectIdBytes()

ID of the project that produces and owns this service.

string producer_project_id = 3;

Returns
Type Description
ByteString

The bytes for producerProjectId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceName()

public String getServiceName()

The name of the service. See the overview for naming requirements.

string service_name = 2;

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

The name of the service. See the overview for naming requirements.

string service_name = 2;

Returns
Type Description
ByteString

The bytes for serviceName.

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 ManagedService.Builder newBuilderForType()
Returns
Type Description
ManagedService.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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