Class CreateServiceRolloutRequest.Builder (3.42.0)

public static final class CreateServiceRolloutRequest.Builder extends GeneratedMessageV3.Builder<CreateServiceRolloutRequest.Builder> implements CreateServiceRolloutRequestOrBuilder

Request message for 'CreateServiceRollout'

Protobuf type google.api.servicemanagement.v1.CreateServiceRolloutRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateServiceRolloutRequest build()
Returns
Type Description
CreateServiceRolloutRequest

buildPartial()

public CreateServiceRolloutRequest buildPartial()
Returns
Type Description
CreateServiceRolloutRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateServiceRolloutRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateServiceRolloutRequest.Builder
Overrides

clearRollout()

public CreateServiceRolloutRequest.Builder clearRollout()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateServiceRolloutRequest.Builder

clearServiceName()

public CreateServiceRolloutRequest.Builder clearServiceName()

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateServiceRolloutRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateServiceRolloutRequest getDefaultInstanceForType()
Returns
Type Description
CreateServiceRolloutRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRollout()

public Rollout getRollout()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Rollout

The rollout.

getRolloutBuilder()

public Rollout.Builder getRolloutBuilder()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Rollout.Builder

getRolloutOrBuilder()

public RolloutOrBuilder getRolloutOrBuilder()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RolloutOrBuilder

getServiceName()

public String getServiceName()

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceName.

hasRollout()

public boolean hasRollout()

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the rollout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateServiceRolloutRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateServiceRolloutRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateServiceRolloutRequest.Builder
Overrides

mergeRollout(Rollout value)

public CreateServiceRolloutRequest.Builder mergeRollout(Rollout value)

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Rollout
Returns
Type Description
CreateServiceRolloutRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CreateServiceRolloutRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateServiceRolloutRequest.Builder
Overrides

setRollout(Rollout value)

public CreateServiceRolloutRequest.Builder setRollout(Rollout value)

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Rollout
Returns
Type Description
CreateServiceRolloutRequest.Builder

setRollout(Rollout.Builder builderForValue)

public CreateServiceRolloutRequest.Builder setRollout(Rollout.Builder builderForValue)

Required. The rollout resource. The service_name field is output only.

.google.api.servicemanagement.v1.Rollout rollout = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Rollout.Builder
Returns
Type Description
CreateServiceRolloutRequest.Builder

setServiceName(String value)

public CreateServiceRolloutRequest.Builder setServiceName(String value)

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The serviceName to set.

Returns
Type Description
CreateServiceRolloutRequest.Builder

This builder for chaining.

setServiceNameBytes(ByteString value)

public CreateServiceRolloutRequest.Builder setServiceNameBytes(ByteString value)

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for serviceName to set.

Returns
Type Description
CreateServiceRolloutRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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