Class ManagedService.Builder (3.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagedService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManagedService.Builder
Overrides

build()

public ManagedService build()
Returns
TypeDescription
ManagedService

buildPartial()

public ManagedService buildPartial()
Returns
TypeDescription
ManagedService

clear()

public ManagedService.Builder clear()
Returns
TypeDescription
ManagedService.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ManagedService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ManagedService.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagedService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ManagedService.Builder
Overrides

clearProducerProjectId()

public ManagedService.Builder clearProducerProjectId()

ID of the project that produces and owns this service.

string producer_project_id = 3;

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

This builder for chaining.

clone()

public ManagedService.Builder clone()
Returns
TypeDescription
ManagedService.Builder
Overrides

getDefaultInstanceForType()

public ManagedService getDefaultInstanceForType()
Returns
TypeDescription
ManagedService

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ManagedService other)

public ManagedService.Builder mergeFrom(ManagedService other)
Parameter
NameDescription
otherManagedService
Returns
TypeDescription
ManagedService.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagedService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedService.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ManagedService.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ManagedService.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagedService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManagedService.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ManagedService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The producerProjectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for producerProjectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The serviceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceName to set.

Returns
TypeDescription
ManagedService.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagedService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManagedService.Builder
Overrides