Class ReplaceDeploymentRequest.Builder (2.52.0)

public static final class ReplaceDeploymentRequest.Builder extends GeneratedMessageV3.Builder<ReplaceDeploymentRequest.Builder> implements ReplaceDeploymentRequestOrBuilder

Request message to create or replace a deployment.

Protobuf type google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplaceDeploymentRequest build()
Returns
Type Description
ReplaceDeploymentRequest

buildPartial()

public ReplaceDeploymentRequest buildPartial()
Returns
Type Description
ReplaceDeploymentRequest

clear()

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

clearDeployment()

public ReplaceDeploymentRequest.Builder clearDeployment()

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplaceDeploymentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ReplaceDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
ReplaceDeploymentRequest

getDeployment()

public Deployment getDeployment()

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Deployment

The deployment.

getDeploymentBuilder()

public Deployment.Builder getDeploymentBuilder()

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Deployment.Builder

getDeploymentOrBuilder()

public DeploymentOrBuilder getDeploymentOrBuilder()

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeploymentOrBuilder

getDescriptorForType()

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

hasDeployment()

public boolean hasDeployment()

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the deployment field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeployment(Deployment value)

public ReplaceDeploymentRequest.Builder mergeDeployment(Deployment value)

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Deployment
Returns
Type Description
ReplaceDeploymentRequest.Builder

mergeFrom(ReplaceDeploymentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeployment(Deployment value)

public ReplaceDeploymentRequest.Builder setDeployment(Deployment value)

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Deployment
Returns
Type Description
ReplaceDeploymentRequest.Builder

setDeployment(Deployment.Builder builderForValue)

public ReplaceDeploymentRequest.Builder setDeployment(Deployment.Builder builderForValue)

Required. The deployment to create or replace.

.google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Deployment.Builder
Returns
Type Description
ReplaceDeploymentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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