public static final class CreateServiceRequest.Builder extends GeneratedMessageV3.Builder<CreateServiceRequest.Builder> implements CreateServiceRequestOrBuilder
Request message for CreateService method.
Protobuf type google.api.servicemanagement.v1.CreateServiceRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateServiceRequest build()
Returns
buildPartial()
public CreateServiceRequest buildPartial()
Returns
clear()
public CreateServiceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearService()
public CreateServiceRequest.Builder clearService()
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateServiceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateServiceRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getService()
public ManagedService getService()
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getServiceBuilder()
public ManagedService.Builder getServiceBuilder()
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getServiceOrBuilder()
public ManagedServiceOrBuilder getServiceOrBuilder()
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hasService()
public boolean hasService()
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the service field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateServiceRequest other)
public CreateServiceRequest.Builder mergeFrom(CreateServiceRequest other)
Parameter
Returns
public CreateServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateServiceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeService(ManagedService value)
public CreateServiceRequest.Builder mergeService(ManagedService value)
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setService(ManagedService value)
public CreateServiceRequest.Builder setService(ManagedService value)
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setService(ManagedService.Builder builderForValue)
public CreateServiceRequest.Builder setService(ManagedService.Builder builderForValue)
Required. Initial values for the service resource.
.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides