Class UpdateApiVersionRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • clear

        public UpdateApiVersionRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • getDefaultInstanceForType

        public UpdateApiVersionRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateApiVersionRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateApiVersionRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UpdateApiVersionRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • clearField

        public UpdateApiVersionRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • clearOneof

        public UpdateApiVersionRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • setRepeatedField

        public UpdateApiVersionRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • addRepeatedField

        public UpdateApiVersionRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • mergeFrom

        public UpdateApiVersionRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateApiVersionRequest.Builder>
        Throws:
        IOException
      • hasApiVersion

        public boolean hasApiVersion()
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasApiVersion in interface UpdateApiVersionRequestOrBuilder
        Returns:
        Whether the apiVersion field is set.
      • getApiVersion

        public ApiVersion getApiVersion()
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getApiVersion in interface UpdateApiVersionRequestOrBuilder
        Returns:
        The apiVersion.
      • setApiVersion

        public UpdateApiVersionRequest.Builder setApiVersion​(ApiVersion value)
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      • setApiVersion

        public UpdateApiVersionRequest.Builder setApiVersion​(ApiVersion.Builder builderForValue)
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergeApiVersion

        public UpdateApiVersionRequest.Builder mergeApiVersion​(ApiVersion value)
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearApiVersion

        public UpdateApiVersionRequest.Builder clearApiVersion()
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      • getApiVersionBuilder

        public ApiVersion.Builder getApiVersionBuilder()
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      • getApiVersionOrBuilder

        public ApiVersionOrBuilder getApiVersionOrBuilder()
         Required. The version to update.
        
         The `name` field is used to identify the version to update.
         Format: `projects/*/locations/*/apis/*/versions/*`
         
        .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getApiVersionOrBuilder in interface UpdateApiVersionRequestOrBuilder
      • 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 interface UpdateApiVersionRequestOrBuilder
        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 interface UpdateApiVersionRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateApiVersionRequest.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 UpdateApiVersionRequest.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 UpdateApiVersionRequest.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 UpdateApiVersionRequest.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 interface UpdateApiVersionRequestOrBuilder
      • getAllowMissing

        public boolean getAllowMissing()
         If set to true, and the version is not found, a new version will be
         created. In this situation, `update_mask` is ignored.
         
        bool allow_missing = 3;
        Specified by:
        getAllowMissing in interface UpdateApiVersionRequestOrBuilder
        Returns:
        The allowMissing.
      • setAllowMissing

        public UpdateApiVersionRequest.Builder setAllowMissing​(boolean value)
         If set to true, and the version is not found, a new version 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 UpdateApiVersionRequest.Builder clearAllowMissing()
         If set to true, and the version is not found, a new version will be
         created. In this situation, `update_mask` is ignored.
         
        bool allow_missing = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UpdateApiVersionRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>
      • mergeUnknownFields

        public final UpdateApiVersionRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateApiVersionRequest.Builder>