Class UpdateApiDeploymentRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
- com.google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest.Builder
-
- All Implemented Interfaces:
UpdateApiDeploymentRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateApiDeploymentRequest
public static final class UpdateApiDeploymentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder> implements UpdateApiDeploymentRequestOrBuilder
Request message for UpdateApiDeployment.
Protobuf typegoogle.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateApiDeploymentRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateApiDeploymentRequestbuild()UpdateApiDeploymentRequestbuildPartial()UpdateApiDeploymentRequest.Builderclear()UpdateApiDeploymentRequest.BuilderclearAllowMissing()If set to true, and the deployment is not found, a new deployment will be created.UpdateApiDeploymentRequest.BuilderclearApiDeployment()Required.UpdateApiDeploymentRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UpdateApiDeploymentRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UpdateApiDeploymentRequest.BuilderclearUpdateMask()The list of fields to be updated.UpdateApiDeploymentRequest.Builderclone()booleangetAllowMissing()If set to true, and the deployment is not found, a new deployment will be created.ApiDeploymentgetApiDeployment()Required.ApiDeployment.BuildergetApiDeploymentBuilder()Required.ApiDeploymentOrBuildergetApiDeploymentOrBuilder()Required.UpdateApiDeploymentRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.FieldMaskgetUpdateMask()The list of fields to be updated.com.google.protobuf.FieldMask.BuildergetUpdateMaskBuilder()The list of fields to be updated.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()The list of fields to be updated.booleanhasApiDeployment()Required.booleanhasUpdateMask()The list of fields to be updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UpdateApiDeploymentRequest.BuildermergeApiDeployment(ApiDeployment value)Required.UpdateApiDeploymentRequest.BuildermergeFrom(UpdateApiDeploymentRequest other)UpdateApiDeploymentRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UpdateApiDeploymentRequest.BuildermergeFrom(com.google.protobuf.Message other)UpdateApiDeploymentRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateApiDeploymentRequest.BuildermergeUpdateMask(com.google.protobuf.FieldMask value)The list of fields to be updated.UpdateApiDeploymentRequest.BuildersetAllowMissing(boolean value)If set to true, and the deployment is not found, a new deployment will be created.UpdateApiDeploymentRequest.BuildersetApiDeployment(ApiDeployment value)Required.UpdateApiDeploymentRequest.BuildersetApiDeployment(ApiDeployment.Builder builderForValue)Required.UpdateApiDeploymentRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpdateApiDeploymentRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UpdateApiDeploymentRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpdateApiDeploymentRequest.BuildersetUpdateMask(com.google.protobuf.FieldMask value)The list of fields to be updated.UpdateApiDeploymentRequest.BuildersetUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)The list of fields to be updated.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
clear
public UpdateApiDeploymentRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
getDefaultInstanceForType
public UpdateApiDeploymentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateApiDeploymentRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateApiDeploymentRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateApiDeploymentRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
setField
public UpdateApiDeploymentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
clearField
public UpdateApiDeploymentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
clearOneof
public UpdateApiDeploymentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
setRepeatedField
public UpdateApiDeploymentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
addRepeatedField
public UpdateApiDeploymentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
mergeFrom
public UpdateApiDeploymentRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateApiDeploymentRequest.Builder>
-
mergeFrom
public UpdateApiDeploymentRequest.Builder mergeFrom(UpdateApiDeploymentRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
mergeFrom
public UpdateApiDeploymentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateApiDeploymentRequest.Builder>- Throws:
IOException
-
hasApiDeployment
public boolean hasApiDeployment()
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasApiDeploymentin interfaceUpdateApiDeploymentRequestOrBuilder- Returns:
- Whether the apiDeployment field is set.
-
getApiDeployment
public ApiDeployment getApiDeployment()
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getApiDeploymentin interfaceUpdateApiDeploymentRequestOrBuilder- Returns:
- The apiDeployment.
-
setApiDeployment
public UpdateApiDeploymentRequest.Builder setApiDeployment(ApiDeployment value)
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
-
setApiDeployment
public UpdateApiDeploymentRequest.Builder setApiDeployment(ApiDeployment.Builder builderForValue)
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
-
mergeApiDeployment
public UpdateApiDeploymentRequest.Builder mergeApiDeployment(ApiDeployment value)
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearApiDeployment
public UpdateApiDeploymentRequest.Builder clearApiDeployment()
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
-
getApiDeploymentBuilder
public ApiDeployment.Builder getApiDeploymentBuilder()
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
-
getApiDeploymentOrBuilder
public ApiDeploymentOrBuilder getApiDeploymentOrBuilder()
Required. The deployment to update. The `name` field is used to identify the deployment to update. Format: `projects/*/locations/*/apis/*/deployments/*`
.google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getApiDeploymentOrBuilderin interfaceUpdateApiDeploymentRequestOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
hasUpdateMaskin interfaceUpdateApiDeploymentRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskin interfaceUpdateApiDeploymentRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public UpdateApiDeploymentRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
-
setUpdateMask
public UpdateApiDeploymentRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
-
mergeUpdateMask
public UpdateApiDeploymentRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
-
clearUpdateMask
public UpdateApiDeploymentRequest.Builder clearUpdateMask()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
-
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
-
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateApiDeploymentRequestOrBuilder
-
getAllowMissing
public boolean getAllowMissing()
If set to true, and the deployment is not found, a new deployment will be created. In this situation, `update_mask` is ignored.
bool allow_missing = 3;- Specified by:
getAllowMissingin interfaceUpdateApiDeploymentRequestOrBuilder- Returns:
- The allowMissing.
-
setAllowMissing
public UpdateApiDeploymentRequest.Builder setAllowMissing(boolean value)
If set to true, and the deployment is not found, a new deployment will be created. In this situation, `update_mask` is ignored.
bool allow_missing = 3;- Parameters:
value- The allowMissing to set.- Returns:
- This builder for chaining.
-
clearAllowMissing
public UpdateApiDeploymentRequest.Builder clearAllowMissing()
If set to true, and the deployment is not found, a new deployment will be created. In this situation, `update_mask` is ignored.
bool allow_missing = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateApiDeploymentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
mergeUnknownFields
public final UpdateApiDeploymentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
-