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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ManagedService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ManagedService build()
Returns
buildPartial()
public ManagedService buildPartial()
Returns
clear()
public ManagedService.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ManagedService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ManagedService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProducerProjectId()
public ManagedService.Builder clearProducerProjectId()
ID of the project that produces and owns this service.
string producer_project_id = 3;
Returns
clearServiceName()
public ManagedService.Builder clearServiceName()
The name of the service. See the
overview
for naming requirements.
string service_name = 2;
Returns
clone()
public ManagedService.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ManagedService getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ManagedService other)
public ManagedService.Builder mergeFrom(ManagedService other)
Parameter
Returns
public ManagedService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ManagedService.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ManagedService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ManagedService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ManagedService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final ManagedService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides