Class ManagedService (3.26.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
TypeDescription
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ManagedService getDefaultInstance()
Returns
TypeDescription
ManagedService

getDescriptor()

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

newBuilder()

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

newBuilder(ManagedService prototype)

public static ManagedService.Builder newBuilder(ManagedService prototype)
Parameter
NameDescription
prototypeManagedService
Returns
TypeDescription
ManagedService.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ManagedService getDefaultInstanceForType()
Returns
TypeDescription
ManagedService

getParserForType()

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

getProducerProjectId()

public String getProducerProjectId()

ID of the project that produces and owns this service.

string producer_project_id = 3;

Returns
TypeDescription
String

The producerProjectId.

getProducerProjectIdBytes()

public ByteString getProducerProjectIdBytes()

ID of the project that produces and owns this service.

string producer_project_id = 3;

Returns
TypeDescription
ByteString

The bytes for producerProjectId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceName()

public String getServiceName()

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

string service_name = 2;

Returns
TypeDescription
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

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

string service_name = 2;

Returns
TypeDescription
ByteString

The bytes for serviceName.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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