public static final class UpdateDeploymentRequest.Builder extends GeneratedMessageV3.Builder<UpdateDeploymentRequest.Builder> implements UpdateDeploymentRequestOrBuilder
The UpdateDeployment
method's request.
Protobuf type google.cloud.apihub.v1.UpdateDeploymentRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDeploymentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDeploymentRequest build()
buildPartial()
public UpdateDeploymentRequest buildPartial()
clear()
public UpdateDeploymentRequest.Builder clear()
Overrides
clearDeployment()
public UpdateDeploymentRequest.Builder clearDeployment()
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateDeploymentRequest.Builder clearUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateDeploymentRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateDeploymentRequest getDefaultInstanceForType()
getDeployment()
public Deployment getDeployment()
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Deployment |
The deployment.
|
getDeploymentBuilder()
public Deployment.Builder getDeploymentBuilder()
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
getDeploymentOrBuilder()
public DeploymentOrBuilder getDeploymentOrBuilder()
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasDeployment()
public boolean hasDeployment()
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the deployment field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDeployment(Deployment value)
public UpdateDeploymentRequest.Builder mergeDeployment(Deployment value)
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateDeploymentRequest other)
public UpdateDeploymentRequest.Builder mergeFrom(UpdateDeploymentRequest other)
public UpdateDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDeploymentRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDeploymentRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setDeployment(Deployment value)
public UpdateDeploymentRequest.Builder setDeployment(Deployment value)
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
setDeployment(Deployment.Builder builderForValue)
public UpdateDeploymentRequest.Builder setDeployment(Deployment.Builder builderForValue)
Required. The deployment resource to update.
The deployment resource's name
field is used to identify the deployment
resource to update.
Format: projects/{project}/locations/{location}/deployments/{deployment}
.google.cloud.apihub.v1.Deployment deployment = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateDeploymentRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDeploymentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|