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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UpdateApiDeploymentRequest
build()
UpdateApiDeploymentRequest
buildPartial()
UpdateApiDeploymentRequest.Builder
clear()
UpdateApiDeploymentRequest.Builder
clearAllowMissing()
If set to true, and the deployment is not found, a new deployment will be created.UpdateApiDeploymentRequest.Builder
clearApiDeployment()
Required.UpdateApiDeploymentRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UpdateApiDeploymentRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UpdateApiDeploymentRequest.Builder
clearUpdateMask()
The list of fields to be updated.UpdateApiDeploymentRequest.Builder
clone()
boolean
getAllowMissing()
If set to true, and the deployment is not found, a new deployment will be created.ApiDeployment
getApiDeployment()
Required.ApiDeployment.Builder
getApiDeploymentBuilder()
Required.ApiDeploymentOrBuilder
getApiDeploymentOrBuilder()
Required.UpdateApiDeploymentRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.FieldMask
getUpdateMask()
The list of fields to be updated.com.google.protobuf.FieldMask.Builder
getUpdateMaskBuilder()
The list of fields to be updated.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
The list of fields to be updated.boolean
hasApiDeployment()
Required.boolean
hasUpdateMask()
The list of fields to be updated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UpdateApiDeploymentRequest.Builder
mergeApiDeployment(ApiDeployment value)
Required.UpdateApiDeploymentRequest.Builder
mergeFrom(UpdateApiDeploymentRequest other)
UpdateApiDeploymentRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpdateApiDeploymentRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UpdateApiDeploymentRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateApiDeploymentRequest.Builder
mergeUpdateMask(com.google.protobuf.FieldMask value)
The list of fields to be updated.UpdateApiDeploymentRequest.Builder
setAllowMissing(boolean value)
If set to true, and the deployment is not found, a new deployment will be created.UpdateApiDeploymentRequest.Builder
setApiDeployment(ApiDeployment value)
Required.UpdateApiDeploymentRequest.Builder
setApiDeployment(ApiDeployment.Builder builderForValue)
Required.UpdateApiDeploymentRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UpdateApiDeploymentRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UpdateApiDeploymentRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UpdateApiDeploymentRequest.Builder
setUpdateMask(com.google.protobuf.FieldMask value)
The list of fields to be updated.UpdateApiDeploymentRequest.Builder
setUpdateMask(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
clear
public UpdateApiDeploymentRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
getDefaultInstanceForType
public UpdateApiDeploymentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpdateApiDeploymentRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpdateApiDeploymentRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpdateApiDeploymentRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
setField
public UpdateApiDeploymentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
clearField
public UpdateApiDeploymentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
clearOneof
public UpdateApiDeploymentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
setRepeatedField
public UpdateApiDeploymentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
addRepeatedField
public UpdateApiDeploymentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
mergeFrom
public UpdateApiDeploymentRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpdateApiDeploymentRequest.Builder>
-
mergeFrom
public UpdateApiDeploymentRequest.Builder mergeFrom(UpdateApiDeploymentRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasApiDeployment
in 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:
getApiDeployment
in 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:
getApiDeploymentOrBuilder
in 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:
hasUpdateMask
in 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:
getUpdateMask
in 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:
getUpdateMaskOrBuilder
in 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:
getAllowMissing
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
mergeUnknownFields
public final UpdateApiDeploymentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateApiDeploymentRequest.Builder>
-
-