Class ReplaceDeploymentRequest.Builder (2.1.12)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplaceDeploymentRequest build()
Returns
TypeDescription
ReplaceDeploymentRequest

buildPartial()

public ReplaceDeploymentRequest buildPartial()
Returns
TypeDescription
ReplaceDeploymentRequest

clear()

public ReplaceDeploymentRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ReplaceDeploymentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplaceDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReplaceDeploymentRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ReplaceDeploymentRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DeploymentOrBuilder

getDescriptorForType()

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

Whether the deployment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDeployment
Returns
TypeDescription
ReplaceDeploymentRequest.Builder

mergeFrom(ReplaceDeploymentRequest other)

public ReplaceDeploymentRequest.Builder mergeFrom(ReplaceDeploymentRequest other)
Parameter
NameDescription
otherReplaceDeploymentRequest
Returns
TypeDescription
ReplaceDeploymentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReplaceDeploymentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReplaceDeploymentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplaceDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDeployment
Returns
TypeDescription
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
NameDescription
builderForValueDeployment.Builder
Returns
TypeDescription
ReplaceDeploymentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ReplaceDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplaceDeploymentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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