Class CreateServiceRequest.Builder (3.47.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateServiceRequest build()
Returns
Type Description
CreateServiceRequest

buildPartial()

public CreateServiceRequest buildPartial()
Returns
Type Description
CreateServiceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateServiceRequest.Builder
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
Type Description
CreateServiceRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateServiceRequest getDefaultInstanceForType()
Returns
Type Description
CreateServiceRequest

getDescriptorForType()

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

The service.

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
Type Description
ManagedService.Builder

getServiceOrBuilder()

public ManagedServiceOrBuilder getServiceOrBuilder()

Required. Initial values for the service resource.

.google.api.servicemanagement.v1.ManagedService service = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagedServiceOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateServiceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateServiceRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateServiceRequest.Builder
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
Name Description
value ManagedService
Returns
Type Description
CreateServiceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CreateServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateServiceRequest.Builder
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
Name Description
value ManagedService
Returns
Type Description
CreateServiceRequest.Builder

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
Name Description
builderForValue ManagedService.Builder
Returns
Type Description
CreateServiceRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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