Class ManagedService.Builder (3.53.0)

public static final class ManagedService.Builder extends GeneratedMessageV3.Builder<ManagedService.Builder> implements ManagedServiceOrBuilder

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

Protobuf type google.api.servicemanagement.v1.ManagedService

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagedService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagedService.Builder
Overrides

build()

public ManagedService build()
Returns
Type Description
ManagedService

buildPartial()

public ManagedService buildPartial()
Returns
Type Description
ManagedService

clear()

public ManagedService.Builder clear()
Returns
Type Description
ManagedService.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ManagedService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ManagedService.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagedService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ManagedService.Builder
Overrides

clearProducerProjectId()

public ManagedService.Builder clearProducerProjectId()

ID of the project that produces and owns this service.

string producer_project_id = 3;

Returns
Type Description
ManagedService.Builder

This builder for chaining.

clearServiceName()

public ManagedService.Builder clearServiceName()

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

string service_name = 2;

Returns
Type Description
ManagedService.Builder

This builder for chaining.

clone()

public ManagedService.Builder clone()
Returns
Type Description
ManagedService.Builder
Overrides

getDefaultInstanceForType()

public ManagedService getDefaultInstanceForType()
Returns
Type Description
ManagedService

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ManagedService other)

public ManagedService.Builder mergeFrom(ManagedService other)
Parameter
Name Description
other ManagedService
Returns
Type Description
ManagedService.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagedService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ManagedService.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ManagedService.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ManagedService.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagedService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagedService.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ManagedService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagedService.Builder
Overrides

setProducerProjectId(String value)

public ManagedService.Builder setProducerProjectId(String value)

ID of the project that produces and owns this service.

string producer_project_id = 3;

Parameter
Name Description
value String

The producerProjectId to set.

Returns
Type Description
ManagedService.Builder

This builder for chaining.

setProducerProjectIdBytes(ByteString value)

public ManagedService.Builder setProducerProjectIdBytes(ByteString value)

ID of the project that produces and owns this service.

string producer_project_id = 3;

Parameter
Name Description
value ByteString

The bytes for producerProjectId to set.

Returns
Type Description
ManagedService.Builder

This builder for chaining.

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

public ManagedService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ManagedService.Builder
Overrides

setServiceName(String value)

public ManagedService.Builder setServiceName(String value)

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

string service_name = 2;

Parameter
Name Description
value String

The serviceName to set.

Returns
Type Description
ManagedService.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public ManagedService.Builder setServiceNameBytes(ByteString value)

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

string service_name = 2;

Parameter
Name Description
value ByteString

The bytes for serviceName to set.

Returns
Type Description
ManagedService.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagedService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagedService.Builder
Overrides