Class CreateServiceRolloutRequest.Builder (3.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateServiceRolloutRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides

build()

public CreateServiceRolloutRequest build()
Returns
TypeDescription
CreateServiceRolloutRequest

buildPartial()

public CreateServiceRolloutRequest buildPartial()
Returns
TypeDescription
CreateServiceRolloutRequest

clear()

public CreateServiceRolloutRequest.Builder clear()
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateServiceRolloutRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateServiceRolloutRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateServiceRolloutRequest.Builder

This builder for chaining.

clone()

public CreateServiceRolloutRequest.Builder clone()
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateServiceRolloutRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateServiceRolloutRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the rollout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateServiceRolloutRequest other)

public CreateServiceRolloutRequest.Builder mergeFrom(CreateServiceRolloutRequest other)
Parameter
NameDescription
otherCreateServiceRolloutRequest
Returns
TypeDescription
CreateServiceRolloutRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateServiceRolloutRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateServiceRolloutRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueRollout
Returns
TypeDescription
CreateServiceRolloutRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateServiceRolloutRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateServiceRolloutRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides

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

public CreateServiceRolloutRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueRollout
Returns
TypeDescription
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
NameDescription
builderForValueRollout.Builder
Returns
TypeDescription
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
NameDescription
valueString

The serviceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for serviceName to set.

Returns
TypeDescription
CreateServiceRolloutRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateServiceRolloutRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateServiceRolloutRequest.Builder
Overrides