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